#3F23AC#3F23AC
#3F23AC is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.200 H 281.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3F23AC |
|---|---|
| RGB | rgb(63, 35, 172) |
| HSL | hsl(252, 66%, 41%) |
| HSV | hsv(252, 80%, 67%) |
| CMYK | cmyk(63.4%, 79.7%, 0%, 32.5%) |
| CIE-LAB | lab(27.40, 49.73, -67.82) |
| CIE-LCH | lch(27.40, 84.09, 306.25°) |
| OKLab | oklab(39.65% 0.0403 -0.1957) |
| OKLCH | oklch(39.65% 0.2 281.6) |
| XYZ | xyz(10.0950, 5.2366, 39.5005) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.90
Violet Blue
#510AC9
ΔE00 4.77
Ultramarine
#2000B1
ΔE00 5.08
True Blue
#010FCC
ΔE00 5.12
Mediumblue
#0000CD
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F23AC #90AC23
analogous
#234BAC #3F23AC #8323AC
triadic
#3F23AC #AC3F23 #23AC3F
tetradic
#3F23AC #AC234B #90AC23 #23AC83
square
#3F23AC #AC234B #90AC23 #23AC83
split-complementary
#3F23AC #AC8323 #4BAC23
monochromatic
#1A0E46 #2C1979 #3F23AC #5736D6 #8169E0
Accessibility & contrast
On white
10.26
#3F23AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3F23AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F23AC
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F23AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F23AC | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3f23ac; /* rgb */ color: rgb(63, 35, 172); /* oklch */ color: oklch(39.6% 0.200 281.6);
Tailwind
colors: {
custom: {
50: '#8363c6',
500: '#3f23ac',
950: '#000000',
},
}SCSS
$custom: #3f23ac; $custom-light: #8363c6; $custom-dark: #000000;
JSON
{
"hex": "#3f23ac",
"rgb": {
"r": 63,
"g": 35,
"b": 172
},
"hsl": {
"h": 252.263,
"s": 66.184,
"l": 40.588
},
"oklch": {
"l": 0.39645,
"c": 0.19976,
"h": 281.6
},
"luminance": 0.05237
}Semantic roles & 50–950 ramp
primary
#3F23AC
secondary
#B2C664
accent
#E93FC6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82