#6B25A2#6B25A2
#6B25A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.188 H 305.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6B25A2 |
|---|---|
| RGB | rgb(107, 37, 162) |
| HSL | hsl(274, 63%, 39%) |
| HSV | hsv(274, 77%, 64%) |
| CMYK | cmyk(34%, 77.2%, 0%, 36.5%) |
| CIE-LAB | lab(31.94, 52.60, -54.14) |
| CIE-LCH | lch(31.94, 75.48, 314.17°) |
| OKLab | oklab(43.7% 0.1083 -0.1542) |
| OKLCH | oklch(43.7% 0.188 305.1) |
| XYZ | xyz(13.2451, 7.0577, 34.8399) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.09
Purple (survey)
#7E1E9C
ΔE00 4.06
Purple Blue
#5D21D0
ΔE00 6.98
Violet Blue
#510AC9
ΔE00 7.37
Indigo Blue
#3A18B1
ΔE00 8.22
Indigo
#4B0082
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B25A2 #5CA225
analogous
#2D25A2 #6B25A2 #A2259B
triadic
#6B25A2 #A26B25 #25A26B
tetradic
#6B25A2 #A22D25 #5CA225 #259BA2
square
#6B25A2 #A22D25 #5CA225 #259BA2
split-complementary
#6B25A2 #9BA225 #25A22D
monochromatic
#290E3E #4A1A70 #6B25A2 #8C34D1 #A865DC
Accessibility & contrast
On white
8.71
#6B25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#6B25A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B25A2
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B25A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B25A2 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#614562
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6b25a2; /* rgb */ color: rgb(107, 37, 162); /* oklch */ color: oklch(43.7% 0.188 305.1);
Tailwind
colors: {
custom: {
50: '#9b67be',
500: '#6b25a2',
950: '#000000',
},
}SCSS
$custom: #6b25a2; $custom-light: #9b67be; $custom-dark: #000000;
JSON
{
"hex": "#6b25a2",
"rgb": {
"r": 107,
"g": 37,
"b": 162
},
"hsl": {
"h": 273.6,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.43701,
"c": 0.18842,
"h": 305.1
},
"luminance": 0.07058
}Semantic roles & 50–950 ramp
primary
#6B25A2
secondary
#8CC261
accent
#E6428A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81