#3C26A8#3C26A8
#3C26A8 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.193 H 280.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #3C26A8 |
|---|---|
| RGB | rgb(60, 38, 168) |
| HSL | hsl(250, 63%, 40%) |
| HSV | hsv(250, 77%, 66%) |
| CMYK | cmyk(64.3%, 77.4%, 0%, 34.1%) |
| CIE-LAB | lab(27.22, 46.73, -65.71) |
| CIE-LCH | lch(27.22, 80.63, 305.42°) |
| OKLab | oklab(39.33% 0.0352 -0.1896) |
| OKLCH | oklch(39.33% 0.193 280.5) |
| XYZ | xyz(9.6222, 5.1733, 37.5297) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.59
Ultramarine
#2000B1
ΔE00 5.48
True Blue
#010FCC
ΔE00 5.59
Violet Blue
#510AC9
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 5.81
Royal
#0C1793
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C26A8 #92A826
analogous
#2651A8 #3C26A8 #7D26A8
triadic
#3C26A8 #A83C26 #26A83C
tetradic
#3C26A8 #A82651 #92A826 #26A87D
square
#3C26A8 #A82651 #92A826 #26A87D
split-complementary
#3C26A8 #A87D26 #51A826
monochromatic
#180F44 #2A1B76 #3C26A8 #5339D2 #7E6BDE
Accessibility & contrast
On white
10.32
#3C26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3C26A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C26A8
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C26A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C26A8 | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3c26a8; /* rgb */ color: rgb(60, 38, 168); /* oklch */ color: oklch(39.3% 0.193 280.5);
Tailwind
colors: {
custom: {
50: '#8064c3',
500: '#3c26a8',
950: '#000000',
},
}SCSS
$custom: #3c26a8; $custom-light: #8064c3; $custom-dark: #000000;
JSON
{
"hex": "#3c26a8",
"rgb": {
"r": 60,
"g": 38,
"b": 168
},
"hsl": {
"h": 250.154,
"s": 63.107,
"l": 40.392
},
"oklch": {
"l": 0.39331,
"c": 0.19287,
"h": 280.5
},
"luminance": 0.05174
}Semantic roles & 50–950 ramp
primary
#3C26A8
secondary
#B4C466
accent
#E642CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82