#461B7C#461B7C
#461B7C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.152 H 298.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #461B7C |
|---|---|
| RGB | rgb(70, 27, 124) |
| HSL | hsl(267, 64%, 30%) |
| HSV | hsv(267, 78%, 49%) |
| CMYK | cmyk(43.5%, 78.2%, 0%, 51.4%) |
| CIE-LAB | lab(22.09, 40.85, -46.87) |
| CIE-LCH | lch(22.09, 62.18, 311.08°) |
| OKLab | oklab(34.68% 0.0715 -0.1341) |
| OKLCH | oklch(34.68% 0.152 298.1) |
| XYZ | xyz(6.5549, 3.5411, 19.4030) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.59
Indigo (survey)
#380282
ΔE00 4.47
Royal Purple (survey)
#4B006E
ΔE00 4.58
Midnight Blue
#191970
ΔE00 7.08
Royal
#0C1793
ΔE00 7.73
Rebeccapurple
#663399
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#461B7C #517C1B
analogous
#1B217C #461B7C #771B7C
triadic
#461B7C #7C461B #1B7C46
tetradic
#461B7C #7C1B21 #517C1B #1B7C77
square
#461B7C #7C1B21 #517C1B #1B7C77
split-complementary
#461B7C #7C771B #217C1B
monochromatic
#0E0519 #2A104A #461B7C #6226AE #803DD5
Accessibility & contrast
On white
12.29
#461B7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#461B7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #461B7C
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##461B7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##461B7C | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#38354A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #461b7c; /* rgb */ color: rgb(70, 27, 124); /* oklch */ color: oklch(34.7% 0.152 298.1);
Tailwind
colors: {
custom: {
50: '#7f5ca3',
500: '#461b7c',
950: '#000000',
},
}SCSS
$custom: #461b7c; $custom-light: #7f5ca3; $custom-dark: #000000;
JSON
{
"hex": "#461b7c",
"rgb": {
"r": 70,
"g": 27,
"b": 124
},
"hsl": {
"h": 266.598,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.34682,
"c": 0.15193,
"h": 298.1
},
"luminance": 0.03541
}Semantic roles & 50–950 ramp
primary
#461B7C
secondary
#80B043
accent
#E7419D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F