#3F267E#3F267E
#3F267E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.140 H 290.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3F267E |
|---|---|
| RGB | rgb(63, 38, 126) |
| HSL | hsl(257, 54%, 32%) |
| HSV | hsv(257, 70%, 49%) |
| CMYK | cmyk(50%, 69.8%, 0%, 50.6%) |
| CIE-LAB | lab(23.50, 34.28, -45.87) |
| CIE-LCH | lch(23.50, 57.27, 306.77°) |
| OKLab | oklab(35.54% 0.0491 -0.1315) |
| OKLCH | oklch(35.54% 0.14 290.5) |
| XYZ | xyz(6.5078, 3.9491, 20.1540) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.06
Indigo (survey)
#380282
ΔE00 6.31
Indigo
#4B0082
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.48
Royal
#0C1793
ΔE00 7.09
Royal Purple (survey)
#4B006E
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F267E #657E26
analogous
#26397E #3F267E #6B267E
triadic
#3F267E #7E3F26 #267E3F
tetradic
#3F267E #7E2639 #657E26 #267E6B
square
#3F267E #7E2639 #657E26 #267E6B
split-complementary
#3F267E #7E6B26 #397E26
monochromatic
#100A20 #27184F #3F267E #5734AD #7553CB
Accessibility & contrast
On white
11.73
#3F267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#3F267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F267E
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F267E | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#2A3C4E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3f267e; /* rgb */ color: rgb(63, 38, 126); /* oklch */ color: oklch(35.5% 0.140 290.5);
Tailwind
colors: {
custom: {
50: '#7a62a4',
500: '#3f267e',
950: '#000000',
},
}SCSS
$custom: #3f267e; $custom-light: #7a62a4; $custom-dark: #000000;
JSON
{
"hex": "#3f267e",
"rgb": {
"r": 63,
"g": 38,
"b": 126
},
"hsl": {
"h": 257.045,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.35544,
"c": 0.14035,
"h": 290.5
},
"luminance": 0.03949
}Semantic roles & 50–950 ramp
primary
#3F267E
secondary
#95B050
accent
#DD4BB3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F