#6C207C#6C207C

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

Color values

HEX#6C207C
RGBrgb(108, 32, 124)
HSLhsl(290, 59%, 31%)
HSVhsv(290, 74%, 49%)
CMYKcmyk(12.9%, 74.2%, 0%, 51.4%)
CIE-LABlab(28.58, 46.51, -36.09)
CIE-LCHlch(28.58, 58.87, 322.19°)
OKLaboklab(40.47% 0.1207 -0.1011)
OKLCHoklch(40.47% 0.157 320.1)
XYZxyz(10.3385, 5.6769, 19.6161)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C207C #307C20
analogous
#3E207C #6C207C #7C205E
triadic
#6C207C #7C6C20 #207C6C
tetradic
#6C207C #7C3E20 #307C20 #205E7C
square
#6C207C #7C3E20 #307C20 #205E7C
split-complementary
#6C207C #5E7C20 #207C3E
monochromatic
#17071B #42134B #6C207C #962DAD #B847CF

Accessibility & contrast

On white

9.84
#6C207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6C207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C207C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C207C#FFFFFF#000000##FFFFFF
##6C207C1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#28467A
Tritanopia (blue-blind)
#6C324C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c207c;
/* rgb */ color: rgb(108, 32, 124);
/* oklch */ color: oklch(40.5% 0.157 320.1);
Tailwind
colors: {
  custom: {
    50: '#9963a2',
    500: '#6c207c',
    950: '#000000',
  },
}
SCSS
$custom: #6c207c;
$custom-light: #9963a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c207c",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 289.565,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40473,
    "c": 0.15747,
    "h": 320.1
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C207C

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

Preview Lab → · Contrast checker → · Palette generator →

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