#6C207B#6C207B

#6C207B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.157 H 320.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#6C207B
RGBrgb(108, 32, 123)
HSLhsl(290, 59%, 30%)
HSVhsv(290, 74%, 48%)
CMYKcmyk(12.2%, 74%, 0%, 51.8%)
CIE-LABlab(28.52, 46.31, -35.57)
CIE-LCHlch(28.52, 58.39, 322.48°)
OKLaboklab(40.41% 0.1208 -0.0996)
OKLCHoklch(40.41% 0.157 320.5)
XYZxyz(10.2756, 5.6518, 19.2847)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C207B #2F7B20
analogous
#3E207B #6C207B #7B205C
triadic
#6C207B #7B6C20 #207B6C
tetradic
#6C207B #7B3E20 #2F7B20 #205C7B
square
#6C207B #7B3E20 #2F7B20 #205C7B
split-complementary
#6C207B #5C7B20 #207B3E
monochromatic
#17071A #41134A #6C207B #972DAC #B846CF

Accessibility & contrast

On white

9.86
#6C207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C207B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C207B#FFFFFF#000000##FFFFFF
##6C207B1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c207b;
/* rgb */ color: rgb(108, 32, 123);
/* oklch */ color: oklch(40.4% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#9963a2',
    500: '#6c207b',
    950: '#000000',
  },
}
SCSS
$custom: #6c207b;
$custom-light: #9963a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c207b",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 290.11,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.15654,
    "h": 320.5
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#6C207B
secondary
#59AE49
accent
#E24660
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C207B

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

Preview Lab → · Contrast checker → · Palette generator →

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