#3E23B2#3E23B2
#3E23B2 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.2% C 0.207 H 280.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3E23B2 |
|---|---|
| RGB | rgb(62, 35, 178) |
| HSL | hsl(251, 67%, 42%) |
| HSV | hsv(251, 80%, 70%) |
| CMYK | cmyk(65.2%, 80.3%, 0%, 30.2%) |
| CIE-LAB | lab(27.95, 51.38, -70.50) |
| CIE-LCH | lch(27.95, 87.24, 306.08°) |
| OKLab | oklab(40.2% 0.037 -0.2035) |
| OKLCH | oklch(40.2% 0.207 280.3) |
| XYZ | xyz(10.6210, 5.4397, 42.6011) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.86
Violet Blue
#510AC9
ΔE00 4.26
True Blue
#010FCC
ΔE00 4.58
Ultramarine
#2000B1
ΔE00 5.09
Mediumblue
#0000CD
ΔE00 5.22
Ultramarine Blue
#1805DB
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E23B2 #97B223
analogous
#234FB2 #3E23B2 #8623B2
triadic
#3E23B2 #B23E23 #23B23E
tetradic
#3E23B2 #B2234F #97B223 #23B286
square
#3E23B2 #B2234F #97B223 #23B286
split-complementary
#3E23B2 #B28623 #4FB223
monochromatic
#1A0F4C #2C197F #3E23B2 #583AD8 #836DE2
Accessibility & contrast
On white
10.06
#3E23B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3E23B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E23B2
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E23B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E23B2 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3e23b2; /* rgb */ color: rgb(62, 35, 178); /* oklch */ color: oklch(40.2% 0.207 280.3);
Tailwind
colors: {
custom: {
50: '#8363ca',
500: '#3e23b2',
950: '#000000',
},
}SCSS
$custom: #3e23b2; $custom-light: #8363ca; $custom-dark: #000000;
JSON
{
"hex": "#3e23b2",
"rgb": {
"r": 62,
"g": 35,
"b": 178
},
"hsl": {
"h": 251.329,
"s": 67.136,
"l": 41.765
},
"oklch": {
"l": 0.40198,
"c": 0.20684,
"h": 280.3
},
"luminance": 0.05441
}Semantic roles & 50–950 ramp
primary
#3E23B2
secondary
#B6C968
accent
#EA3ECA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82