#3F23B2#3F23B2
#3F23B2 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.207 H 280.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3F23B2 |
|---|---|
| RGB | rgb(63, 35, 178) |
| HSL | hsl(252, 67%, 42%) |
| HSV | hsv(252, 80%, 70%) |
| CMYK | cmyk(64.6%, 80.3%, 0%, 30.2%) |
| CIE-LAB | lab(28.04, 51.48, -70.35) |
| CIE-LCH | lch(28.04, 87.18, 306.20°) |
| OKLab | oklab(40.28% 0.0385 -0.203) |
| OKLCH | oklch(40.28% 0.207 280.7) |
| XYZ | xyz(10.6843, 5.4723, 42.6041) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.89
Violet Blue
#510AC9
ΔE00 4.19
True Blue
#010FCC
ΔE00 4.65
Ultramarine
#2000B1
ΔE00 5.15
Mediumblue
#0000CD
ΔE00 5.28
Ultramarine Blue
#1805DB
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F23B2 #96B223
analogous
#234FB2 #3F23B2 #8723B2
triadic
#3F23B2 #B23F23 #23B23F
tetradic
#3F23B2 #B2234F #96B223 #23B287
square
#3F23B2 #B2234F #96B223 #23B287
split-complementary
#3F23B2 #B28723 #4FB223
monochromatic
#1B0F4C #2D197F #3F23B2 #593AD8 #846DE2
Accessibility & contrast
On white
10.03
#3F23B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3F23B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F23B2
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F23B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F23B2 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3f23b2; /* rgb */ color: rgb(63, 35, 178); /* oklch */ color: oklch(40.3% 0.207 280.7);
Tailwind
colors: {
custom: {
50: '#8463ca',
500: '#3f23b2',
950: '#000000',
},
}SCSS
$custom: #3f23b2; $custom-light: #8463ca; $custom-dark: #000000;
JSON
{
"hex": "#3f23b2",
"rgb": {
"r": 63,
"g": 35,
"b": 178
},
"hsl": {
"h": 251.748,
"s": 67.136,
"l": 41.765
},
"oklch": {
"l": 0.4028,
"c": 0.20666,
"h": 280.7
},
"luminance": 0.05473
}Semantic roles & 50–950 ramp
primary
#3F23B2
secondary
#B6C968
accent
#EA3EC8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82