#3F366C#3F366C
#3F366C is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.0% C 0.090 H 288.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3F366C |
|---|---|
| RGB | rgb(63, 54, 108) |
| HSL | hsl(250, 33%, 32%) |
| HSV | hsv(250, 50%, 42%) |
| CMYK | cmyk(41.7%, 50%, 0%, 57.6%) |
| CIE-LAB | lab(26.09, 18.48, -30.23) |
| CIE-LCH | lch(26.09, 35.43, 301.44°) |
| OKLab | oklab(37.03% 0.0292 -0.0855) |
| OKLCH | oklch(37.03% 0.09 288.9) |
| XYZ | xyz(6.0751, 4.7776, 14.7865) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.98
Blueberry
#464196
ΔE00 8.00
Twilight
#4E518B
ΔE00 9.16
Navy Blue
#1B2A4A
ΔE00 9.57
Dusk
#4E5481
ΔE00 9.87
Marine
#042E60
ΔE00 10.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F366C #636C36
analogous
#36486C #3F366C #5A366C
triadic
#3F366C #6C3F36 #366C3F
tetradic
#3F366C #6C3648 #636C36 #366C5A
square
#3F366C #6C3648 #636C36 #366C5A
split-complementary
#3F366C #6C5A36 #486C36
monochromatic
#0F0D1A #272243 #3F366C #574A95 #7569B4
Accessibility & contrast
On white
10.74
#3F366C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3F366C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F366C
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F366C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F366C | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#223C6B
Tritanopia (blue-blind)
#33414B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f366c; /* rgb */ color: rgb(63, 54, 108); /* oklch */ color: oklch(37.0% 0.090 288.9);
Tailwind
colors: {
custom: {
50: '#776d96',
500: '#3f366c',
950: '#000000',
},
}SCSS
$custom: #3f366c; $custom-light: #776d96; $custom-dark: #000000;
JSON
{
"hex": "#3f366c",
"rgb": {
"r": 63,
"g": 54,
"b": 108
},
"hsl": {
"h": 250,
"s": 33.333,
"l": 31.765
},
"oklch": {
"l": 0.37027,
"c": 0.09033,
"h": 288.9
},
"luminance": 0.04778
}Semantic roles & 50–950 ramp
primary
#3F366C
secondary
#939D61
accent
#C95EB8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070D
muted
#7B7A7E