#3F249C#3F249C
#3F249C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.180 H 284.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3F249C |
|---|---|
| RGB | rgb(63, 36, 156) |
| HSL | hsl(254, 63%, 38%) |
| HSV | hsv(254, 77%, 61%) |
| CMYK | cmyk(59.6%, 76.9%, 0%, 38.8%) |
| CIE-LAB | lab(25.92, 44.49, -60.56) |
| CIE-LCH | lch(25.92, 75.14, 306.30°) |
| OKLab | oklab(38.12% 0.0442 -0.1745) |
| OKLCH | oklch(38.12% 0.18 284.2) |
| XYZ | xyz(8.6797, 4.7183, 31.8994) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.42
Royal
#0C1793
ΔE00 5.41
Ultramarine
#2000B1
ΔE00 5.79
Cobalt Blue
#030AA7
ΔE00 5.90
Royal Blue (survey)
#0504AA
ΔE00 6.20
Indigo (survey)
#380282
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F249C #819C24
analogous
#24459C #3F249C #7B249C
triadic
#3F249C #9C3F24 #249C3F
tetradic
#3F249C #9C2445 #819C24 #249C7B
square
#3F249C #9C2445 #819C24 #249C7B
split-complementary
#3F249C #9C7B24 #459C24
monochromatic
#170D39 #2B196A #3F249C #532FCE #7C60DA
Accessibility & contrast
On white
10.80
#3F249C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#3F249C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F249C
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F249C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F249C | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#05465F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3f249c; /* rgb */ color: rgb(63, 36, 156); /* oklch */ color: oklch(38.1% 0.180 284.2);
Tailwind
colors: {
custom: {
50: '#8062ba',
500: '#3f249c',
950: '#000000',
},
}SCSS
$custom: #3f249c; $custom-light: #8062ba; $custom-dark: #000000;
JSON
{
"hex": "#3f249c",
"rgb": {
"r": 63,
"g": 36,
"b": 156
},
"hsl": {
"h": 253.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.38116,
"c": 0.18003,
"h": 284.2
},
"luminance": 0.04719
}Semantic roles & 50–950 ramp
primary
#3F249C
secondary
#A9BF5C
accent
#E642C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81