#3F289C#3F289C
#3F289C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.176 H 283.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3F289C |
|---|---|
| RGB | rgb(63, 40, 156) |
| HSL | hsl(252, 59%, 38%) |
| HSV | hsv(252, 74%, 61%) |
| CMYK | cmyk(59.6%, 74.4%, 0%, 38.8%) |
| CIE-LAB | lab(26.66, 42.38, -59.34) |
| CIE-LCH | lch(26.66, 72.92, 305.53°) |
| OKLab | oklab(38.64% 0.0413 -0.171) |
| OKLCH | oklch(38.64% 0.176 283.6) |
| XYZ | xyz(8.8076, 4.9741, 31.9420) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.97
Royal
#0C1793
ΔE00 5.82
Sapphire (survey)
#2138AB
ΔE00 6.25
Ultramarine
#2000B1
ΔE00 6.49
Cobalt Blue
#030AA7
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F289C #859C28
analogous
#284B9C #3F289C #79289C
triadic
#3F289C #9C3F28 #289C3F
tetradic
#3F289C #9C284B #859C28 #289C79
square
#3F289C #9C284B #859C28 #289C79
split-complementary
#3F289C #9C7928 #4B9C28
monochromatic
#180F3B #2B1C6B #3F289C #5336CB #7D67D8
Accessibility & contrast
On white
10.53
#3F289C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3F289C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F289C
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F289C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F289C | 1.00 | 10.53 | 2.00 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#044860
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3f289c; /* rgb */ color: rgb(63, 40, 156); /* oklch */ color: oklch(38.6% 0.176 283.6);
Tailwind
colors: {
custom: {
50: '#7f65ba',
500: '#3f289c',
950: '#000000',
},
}SCSS
$custom: #3f289c; $custom-light: #7f65ba; $custom-dark: #000000;
JSON
{
"hex": "#3f289c",
"rgb": {
"r": 63,
"g": 40,
"b": 156
},
"hsl": {
"h": 251.897,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.3864,
"c": 0.17587,
"h": 283.6
},
"luminance": 0.04975
}Semantic roles & 50–950 ramp
primary
#3F289C
secondary
#ACBE62
accent
#E245C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81