#3E266F#3E266F
#3E266F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.2% C 0.120 H 294.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3E266F |
|---|---|
| RGB | rgb(62, 38, 111) |
| HSL | hsl(260, 49%, 29%) |
| HSV | hsv(260, 66%, 44%) |
| CMYK | cmyk(44.1%, 65.8%, 0%, 56.5%) |
| CIE-LAB | lab(22.15, 29.51, -38.49) |
| CIE-LCH | lch(22.15, 48.50, 307.47°) |
| OKLab | oklab(34.16% 0.0495 -0.1098) |
| OKLCH | oklch(34.16% 0.12 294.3) |
| XYZ | xyz(5.5482, 3.5579, 15.4303) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 7.37
Royal Purple (survey)
#4B006E
ΔE00 7.39
Indigo
#4B0082
ΔE00 7.62
Indigo (survey)
#380282
ΔE00 7.75
Dark Indigo
#1F0954
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E266F #576F26
analogous
#26336F #3E266F #63266F
triadic
#3E266F #6F3E26 #266F3E
tetradic
#3E266F #6F2633 #576F26 #266F63
square
#3E266F #6F2633 #576F26 #266F63
split-complementary
#3E266F #6F6326 #336F26
monochromatic
#0D0817 #251641 #3E266F #57369D #744DC2
Accessibility & contrast
On white
12.27
#3E266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#3E266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E266F
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E266F | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#313746
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3e266f; /* rgb */ color: rgb(62, 38, 111); /* oklch */ color: oklch(34.2% 0.120 294.3);
Tailwind
colors: {
custom: {
50: '#786299',
500: '#3e266f',
950: '#000000',
},
}SCSS
$custom: #3e266f; $custom-light: #786299; $custom-dark: #000000;
JSON
{
"hex": "#3e266f",
"rgb": {
"r": 62,
"g": 38,
"b": 111
},
"hsl": {
"h": 259.726,
"s": 48.993,
"l": 29.216
},
"oklch": {
"l": 0.34155,
"c": 0.12043,
"h": 294.3
},
"luminance": 0.03558
}Semantic roles & 50–950 ramp
primary
#3E266F
secondary
#87A24F
accent
#D94FAB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E