#270864 color

#270864 rgb(39, 8, 100)
Shades of purple

The hex color #270864 is a dark, vivid violet.

In the RGB color model it is made of 15.3% red, 3.1% green and 39.2% blue (39, 8, 100).

Its hue angle is 260°, with 85% saturation and 21% lightness. For print, the CMYK equivalent is 61% cyan, 92% magenta, 0% yellow and 61% black.

The closest named color is Blackmail (#220066), a difference of 1.7 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 16.09:1).

#270864 color codes

HEX#270864
RGBrgb(39, 8, 100)
RGB percentrgb(15.3%, 3.1%, 39.2%)
HSLhsl(260, 85%, 21%)
HSV / HSBhsv(260, 92%, 39%)
CMYKcmyk(61%, 92%, 0%, 61%)
CIE LABlab(12.77, 37.85, -46.77)
CIE LCHlch(12.77, 60.16, 308.98)
CIE XYZxyz(3.223, 1.525, 12.179)
Decimal2558052
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #270864, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #270864RatioAAAAAAA large
Sample text1.31:1FailFailFail
Sample text16.09:1PassPassPass
#270864 as text onRatioAAAAAAA large
Sample text16.09:1PassPassPass
Sample text1.31:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #270864 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #270864; }
.text { color: #270864; }
.border { border: 2px solid #270864; }
.transparent { background-color: rgb(39 8 100 / 50%); }
.gradient { background: linear-gradient(to right, #270864, #550864); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #270864?
#270864 is a dark, vivid violet, closest to the named color Blackmail. It belongs to the purple family of colors.
What is the RGB value of #270864?
The RGB value is 39, 8, 100: 39 red, 8 green and 100 blue on a 0 to 255 scale.
What is the complementary color of #270864?
The complementary color is #456408, found by rotating the hue 180° on the color wheel.
Is black or white text better on #270864?
White text. Black text has a contrast ratio of 1.31:1 and white text 16.09:1. WCAG asks for at least 4.5:1 for normal text.