#3F267F#3F267F
#3F267F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.142 H 290.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3F267F |
|---|---|
| RGB | rgb(63, 38, 127) |
| HSL | hsl(257, 54%, 32%) |
| HSV | hsv(257, 70%, 50%) |
| CMYK | cmyk(50.4%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(23.59, 34.59, -46.36) |
| CIE-LCH | lch(23.59, 57.84, 306.72°) |
| OKLab | oklab(35.63% 0.049 -0.1329) |
| OKLCH | oklch(35.63% 0.142 290.2) |
| XYZ | xyz(6.5727, 3.9750, 20.4955) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.08
Indigo (survey)
#380282
ΔE00 6.26
Indigo
#4B0082
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.45
Royal
#0C1793
ΔE00 6.97
Royal Purple (survey)
#4B006E
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F267F #667F26
analogous
#263A7F #3F267F #6C267F
triadic
#3F267F #7F3F26 #267F3F
tetradic
#3F267F #7F263A #667F26 #267F6C
square
#3F267F #7F263A #667F26 #267F6C
split-complementary
#3F267F #7F6C26 #3A7F26
monochromatic
#100A21 #281850 #3F267F #5634AE #7554CC
Accessibility & contrast
On white
11.70
#3F267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3F267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F267F
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F267F | 1.00 | 11.70 | 1.80 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#2A3C4F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3f267f; /* rgb */ color: rgb(63, 38, 127); /* oklch */ color: oklch(35.6% 0.142 290.2);
Tailwind
colors: {
custom: {
50: '#7a62a5',
500: '#3f267f',
950: '#000000',
},
}SCSS
$custom: #3f267f; $custom-light: #7a62a5; $custom-dark: #000000;
JSON
{
"hex": "#3f267f",
"rgb": {
"r": 63,
"g": 38,
"b": 127
},
"hsl": {
"h": 256.854,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.35633,
"c": 0.14165,
"h": 290.2
},
"luminance": 0.03975
}Semantic roles & 50–950 ramp
primary
#3F267F
secondary
#95B051
accent
#DD4AB4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F