#3F289F#3F289F
#3F289F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.180 H 283.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #3F289F |
|---|---|
| RGB | rgb(63, 40, 159) |
| HSL | hsl(252, 60%, 39%) |
| HSV | hsv(252, 75%, 62%) |
| CMYK | cmyk(60.4%, 74.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.95, 43.30, -60.69) |
| CIE-LCH | lch(26.95, 74.55, 305.51°) |
| OKLab | oklab(38.93% 0.0406 -0.1749) |
| OKLCH | oklch(38.93% 0.18 283.1) |
| XYZ | xyz(9.0648, 5.0769, 33.2964) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.66
Royal
#0C1793
ΔE00 5.91
Sapphire (survey)
#2138AB
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.31
Cobalt Blue
#030AA7
ΔE00 6.42
Violet Blue
#510AC9
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F289F #889F28
analogous
#284D9F #3F289F #7B289F
triadic
#3F289F #9F3F28 #289F3F
tetradic
#3F289F #9F284D #889F28 #289F7B
square
#3F289F #9F284D #889F28 #289F7B
split-complementary
#3F289F #9F7B28 #4D9F28
monochromatic
#180F3D #2C1C6E #3F289F #5437CD #7E68D9
Accessibility & contrast
On white
10.42
#3F289F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3F289F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F289F
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F289F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F289F | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3f289f; /* rgb */ color: rgb(63, 40, 159); /* oklch */ color: oklch(38.9% 0.180 283.1);
Tailwind
colors: {
custom: {
50: '#8065bc',
500: '#3f289f',
950: '#000000',
},
}SCSS
$custom: #3f289f; $custom-light: #8065bc; $custom-dark: #000000;
JSON
{
"hex": "#3f289f",
"rgb": {
"r": 63,
"g": 40,
"b": 159
},
"hsl": {
"h": 251.597,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.38935,
"c": 0.17955,
"h": 283.1
},
"luminance": 0.05078
}Semantic roles & 50–950 ramp
primary
#3F289F
secondary
#AEBF64
accent
#E345C4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81