#6B207E#6B207E

#6B207E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.159 H 318.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6B207E
RGBrgb(107, 32, 126)
HSLhsl(288, 59%, 31%)
HSVhsv(288, 75%, 49%)
CMYKcmyk(15.1%, 74.6%, 0%, 50.6%)
CIE-LABlab(28.55, 46.69, -37.41)
CIE-LCHlch(28.55, 59.83, 321.30°)
OKLaboklab(40.46% 0.1193 -0.105)
OKLCHoklch(40.46% 0.159 318.6)
XYZxyz(10.3453, 5.6657, 20.2833)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B207E #337E20
analogous
#3C207E #6B207E #7E2062
triadic
#6B207E #7E6B20 #207E6B
tetradic
#6B207E #7E3C20 #337E20 #20627E
square
#6B207E #7E3C20 #337E20 #20627E
split-complementary
#6B207E #627E20 #207E3C
monochromatic
#18071C #42144D #6B207E #942CAF #B548D0

Accessibility & contrast

On white

9.85
#6B207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6B207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B207E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B207E#FFFFFF#000000##FFFFFF
##6B207E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#6B334D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b207e;
/* rgb */ color: rgb(107, 32, 126);
/* oklch */ color: oklch(40.5% 0.159 318.6);
Tailwind
colors: {
  custom: {
    50: '#9963a4',
    500: '#6b207e',
    950: '#000000',
  },
}
SCSS
$custom: #6b207e;
$custom-light: #9963a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b207e",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 287.872,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.15891,
    "h": 318.6
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#6B207E
secondary
#5EB149
accent
#E34565
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B207E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6B207E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva