#7B236F#7B236F
#7B236F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.150 H 333.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7B236F |
|---|---|
| RGB | rgb(123, 35, 111) |
| HSL | hsl(308, 56%, 31%) |
| HSV | hsv(308, 72%, 48%) |
| CMYK | cmyk(0%, 71.5%, 9.8%, 51.8%) |
| CIE-LAB | lab(30.79, 46.62, -24.18) |
| CIE-LCH | lch(30.79, 52.52, 332.58°) |
| OKLab | oklab(42.31% 0.1351 -0.0662) |
| OKLCH | oklch(42.31% 0.15 333.9) |
| XYZ | xyz(11.6387, 6.5617, 15.6894) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.90
Purple
#800080
ΔE00 5.04
Rich Purple
#720058
ΔE00 5.55
Grape
#6C3461
ΔE00 5.87
Darkmagenta
#8B008B
ΔE00 6.07
Velvet
#750851
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B236F #237B2F
analogous
#5B237B #7B236F #7B2343
triadic
#7B236F #6F7B23 #236F7B
tetradic
#7B236F #7B5B23 #237B2F #23437B
square
#7B236F #7B5B23 #237B2F #23437B
split-complementary
#7B236F #437B23 #237B5B
monochromatic
#1C0819 #4B1544 #7B236F #AB319A #CC4CBB
Accessibility & contrast
On white
9.08
#7B236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7B236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B236F
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B236F | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#812A46
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7b236f; /* rgb */ color: rgb(123, 35, 111); /* oklch */ color: oklch(42.3% 0.150 333.9);
Tailwind
colors: {
custom: {
50: '#a46698',
500: '#7b236f',
950: '#000000',
},
}SCSS
$custom: #7b236f; $custom-light: #a46698; $custom-dark: #000000;
JSON
{
"hex": "#7b236f",
"rgb": {
"r": 123,
"g": 35,
"b": 111
},
"hsl": {
"h": 308.182,
"s": 55.696,
"l": 30.98
},
"oklch": {
"l": 0.42311,
"c": 0.15038,
"h": 333.9
},
"luminance": 0.06561
}Semantic roles & 50–950 ramp
primary
#7B236F
secondary
#4CAE59
accent
#DF5D49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E