#6B207B#6B207B

#6B207B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.156 H 320.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#6B207B
RGBrgb(107, 32, 123)
HSLhsl(289, 59%, 30%)
HSVhsv(289, 74%, 48%)
CMYKcmyk(13%, 74%, 0%, 51.8%)
CIE-LABlab(28.35, 46.08, -35.84)
CIE-LCHlch(28.35, 58.38, 322.13°)
OKLaboklab(40.26% 0.1195 -0.1004)
OKLCHoklch(40.26% 0.156 320)
XYZxyz(10.1546, 5.5894, 19.2790)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B207B #307B20
analogous
#3E207B #6B207B #7B205D
triadic
#6B207B #7B6B20 #207B6B
tetradic
#6B207B #7B3E20 #307B20 #205D7B
square
#6B207B #7B3E20 #307B20 #205D7B
split-complementary
#6B207B #5D7B20 #207B3E
monochromatic
#17071A #41134A #6B207B #952DAC #B746CF

Accessibility & contrast

On white

9.92
#6B207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6B207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B207B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B207B#FFFFFF#000000##FFFFFF
##6B207B1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#284579
Tritanopia (blue-blind)
#6B314B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b207b;
/* rgb */ color: rgb(107, 32, 123);
/* oklch */ color: oklch(40.3% 0.156 320.0);
Tailwind
colors: {
  custom: {
    50: '#9863a2',
    500: '#6b207b',
    950: '#000000',
  },
}
SCSS
$custom: #6b207b;
$custom-light: #9863a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b207b",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 289.451,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40255,
    "c": 0.15609,
    "h": 320
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#6B207B
secondary
#5BAE49
accent
#E24661
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B207B

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

Preview Lab → · Contrast checker → · Palette generator →

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