#3C23A7#3C23A7
#3C23A7 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.194 H 281.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3C23A7 |
|---|---|
| RGB | rgb(60, 35, 167) |
| HSL | hsl(251, 65%, 40%) |
| HSV | hsv(251, 79%, 65%) |
| CMYK | cmyk(64.1%, 79%, 0%, 34.5%) |
| CIE-LAB | lab(26.60, 47.92, -66.13) |
| CIE-LCH | lch(26.60, 81.67, 305.93°) |
| OKLab | oklab(38.86% 0.0373 -0.1908) |
| OKLCH | oklch(38.86% 0.194 281) |
| XYZ | xyz(9.4374, 4.9520, 37.0102) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.14
Ultramarine
#2000B1
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.36
True Blue
#010FCC
ΔE00 5.43
Violet Blue
#510AC9
ΔE00 5.49
Royal
#0C1793
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C23A7 #8EA723
analogous
#234CA7 #3C23A7 #7E23A7
triadic
#3C23A7 #A73C23 #23A73C
tetradic
#3C23A7 #A7234C #8EA723 #23A77E
square
#3C23A7 #A7234C #8EA723 #23A77E
split-complementary
#3C23A7 #A77E23 #4CA723
monochromatic
#180E42 #2A1874 #3C23A7 #5233D4 #7D66DF
Accessibility & contrast
On white
10.55
#3C23A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3C23A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C23A7
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C23A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C23A7 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3c23a7; /* rgb */ color: rgb(60, 35, 167); /* oklch */ color: oklch(38.9% 0.194 281.0);
Tailwind
colors: {
custom: {
50: '#8062c2',
500: '#3c23a7',
950: '#000000',
},
}SCSS
$custom: #3c23a7; $custom-light: #8062c2; $custom-dark: #000000;
JSON
{
"hex": "#3c23a7",
"rgb": {
"r": 60,
"g": 35,
"b": 167
},
"hsl": {
"h": 251.364,
"s": 65.347,
"l": 39.608
},
"oklch": {
"l": 0.38863,
"c": 0.19445,
"h": 281
},
"luminance": 0.04953
}Semantic roles & 50–950 ramp
primary
#3C23A7
secondary
#B2C461
accent
#E83FC8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82