#39266F#39266F
#39266F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.6% C 0.120 H 290.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #39266F |
|---|---|
| RGB | rgb(57, 38, 111) |
| HSL | hsl(256, 49%, 29%) |
| HSV | hsv(256, 66%, 44%) |
| CMYK | cmyk(48.6%, 65.8%, 0%, 56.5%) |
| CIE-LAB | lab(21.59, 28.37, -39.43) |
| CIE-LCH | lch(21.59, 48.57, 305.74°) |
| OKLab | oklab(33.62% 0.042 -0.1127) |
| OKLCH | oklch(33.62% 0.12 290.4) |
| XYZ | xyz(5.2489, 3.4036, 15.4162) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.64
Darkslateblue
#483D8B
ΔE00 7.30
Indigo (survey)
#380282
ΔE00 7.76
Dark Indigo
#1F0954
ΔE00 7.82
Royal Purple (survey)
#4B006E
ΔE00 8.06
Indigo
#4B0082
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39266F #5C6F26
analogous
#26386F #39266F #5E266F
triadic
#39266F #6F3926 #266F39
tetradic
#39266F #6F2638 #5C6F26 #266F5E
square
#39266F #6F2638 #5C6F26 #266F5E
split-complementary
#39266F #6F5E26 #386F26
monochromatic
#0C0817 #221641 #39266F #50369D #6C4DC2
Accessibility & contrast
On white
12.49
#39266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#39266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39266F
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39266F | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#283746
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #39266f; /* rgb */ color: rgb(57, 38, 111); /* oklch */ color: oklch(33.6% 0.120 290.4);
Tailwind
colors: {
custom: {
50: '#746199',
500: '#39266f',
950: '#000000',
},
}SCSS
$custom: #39266f; $custom-light: #746199; $custom-dark: #000000;
JSON
{
"hex": "#39266f",
"rgb": {
"r": 57,
"g": 38,
"b": 111
},
"hsl": {
"h": 255.616,
"s": 48.993,
"l": 29.216
},
"oklch": {
"l": 0.33617,
"c": 0.12029,
"h": 290.4
},
"luminance": 0.03404
}Semantic roles & 50–950 ramp
primary
#39266F
secondary
#8CA24F
accent
#D94FB5
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E