#3F268F#3F268F
#3F268F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.162 H 286.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3F268F |
|---|---|
| RGB | rgb(63, 38, 143) |
| HSL | hsl(254, 58%, 35%) |
| HSV | hsv(254, 73%, 56%) |
| CMYK | cmyk(55.9%, 73.4%, 0%, 43.9%) |
| CIE-LAB | lab(25.03, 39.48, -54.02) |
| CIE-LCH | lch(25.03, 66.91, 306.17°) |
| OKLab | oklab(37.11% 0.0459 -0.1554) |
| OKLCH | oklch(37.11% 0.162 286.4) |
| XYZ | xyz(7.6995, 4.4257, 26.4298) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.38
Royal
#0C1793
ΔE00 5.68
Indigo (survey)
#380282
ΔE00 6.14
Indigo
#4B0082
ΔE00 6.51
Darkslateblue
#483D8B
ΔE00 6.60
Midnight Blue
#191970
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F268F #768F26
analogous
#26418F #3F268F #73268F
triadic
#3F268F #8F3F26 #268F3F
tetradic
#3F268F #8F2641 #768F26 #268F73
square
#3F268F #8F2641 #768F26 #268F73
split-complementary
#3F268F #8F7326 #418F26
monochromatic
#140C2E #2A195F #3F268F #5433BF #785CD4
Accessibility & contrast
On white
11.14
#3F268F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3F268F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F268F
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F268F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F268F | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#1C4258
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f268f; /* rgb */ color: rgb(63, 38, 143); /* oklch */ color: oklch(37.1% 0.162 286.4);
Tailwind
colors: {
custom: {
50: '#7d63b1',
500: '#3f268f',
950: '#000000',
},
}SCSS
$custom: #3f268f; $custom-light: #7d63b1; $custom-dark: #000000;
JSON
{
"hex": "#3f268f",
"rgb": {
"r": 63,
"g": 38,
"b": 143
},
"hsl": {
"h": 254.286,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.37108,
"c": 0.16199,
"h": 286.4
},
"luminance": 0.04426
}Semantic roles & 50–950 ramp
primary
#3F268F
secondary
#A2B958
accent
#E147BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80