#62308C#62308C
#62308C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.149 H 306.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #62308C |
|---|---|
| RGB | rgb(98, 48, 140) |
| HSL | hsl(273, 49%, 37%) |
| HSV | hsv(273, 66%, 55%) |
| CMYK | cmyk(30%, 65.7%, 0%, 45.1%) |
| CIE-LAB | lab(30.89, 40.27, -42.45) |
| CIE-LCH | lch(30.89, 58.52, 313.49°) |
| OKLab | oklab(42.17% 0.0873 -0.1202) |
| OKLCH | oklch(42.17% 0.149 306) |
| XYZ | xyz(10.8266, 6.6041, 25.5102) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.29
Purple (survey)
#7E1E9C
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 7.27
Darkish Purple
#751973
ΔE00 8.25
Indigo
#4B0082
ΔE00 8.62
Purple
#800080
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62308C #5A8C30
analogous
#34308C #62308C #8C3088
triadic
#62308C #8C6230 #308C62
tetradic
#62308C #8C3430 #5A8C30 #30888C
square
#62308C #8C3430 #5A8C30 #30888C
split-complementary
#62308C #888C30 #308C34
monochromatic
#221131 #42205E #62308C #8240BA #9F6ACC
Accessibility & contrast
On white
9.05
#62308C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#62308C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #62308C
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62308C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##62308C | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#1A498A
Tritanopia (blue-blind)
#5B4359
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #62308c; /* rgb */ color: rgb(98, 48, 140); /* oklch */ color: oklch(42.2% 0.149 306.0);
Tailwind
colors: {
custom: {
50: '#926cae',
500: '#62308c',
950: '#000000',
},
}SCSS
$custom: #62308c; $custom-light: #926cae; $custom-dark: #000000;
JSON
{
"hex": "#62308c",
"rgb": {
"r": 98,
"g": 48,
"b": 140
},
"hsl": {
"h": 272.609,
"s": 48.936,
"l": 36.863
},
"oklch": {
"l": 0.42168,
"c": 0.14854,
"h": 306
},
"luminance": 0.06604
}Semantic roles & 50–950 ramp
primary
#62308C
secondary
#88B364
accent
#D84F8E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F