#6C207D#6C207D

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

Color values

HEX#6C207D
RGBrgb(108, 32, 125)
HSLhsl(289, 59%, 31%)
HSVhsv(289, 74%, 49%)
CMYKcmyk(13.6%, 74.4%, 0%, 51%)
CIE-LABlab(28.65, 46.71, -36.62)
CIE-LCHlch(28.65, 59.35, 321.91°)
OKLaboklab(40.54% 0.1207 -0.1026)
OKLCHoklch(40.54% 0.158 319.6)
XYZxyz(10.4021, 5.7023, 19.9508)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C207D #317D20
analogous
#3D207D #6C207D #7D205F
triadic
#6C207D #7D6C20 #207D6C
tetradic
#6C207D #7D3D20 #317D20 #205F7D
square
#6C207D #7D3D20 #317D20 #205F7D
split-complementary
#6C207D #5F7D20 #207D3D
monochromatic
#18071C #42144C #6C207D #962CAE #B747D0

Accessibility & contrast

On white

9.81
#6C207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C207D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C207D#FFFFFF#000000##FFFFFF
##6C207D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#28467B
Tritanopia (blue-blind)
#6C324C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c207d;
/* rgb */ color: rgb(108, 32, 125);
/* oklch */ color: oklch(40.5% 0.158 319.6);
Tailwind
colors: {
  custom: {
    50: '#9963a3',
    500: '#6c207d',
    950: '#000000',
  },
}
SCSS
$custom: #6c207d;
$custom-light: #9963a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c207d",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 289.032,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.1584,
    "h": 319.6
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#6C207D
secondary
#5CB049
accent
#E24562
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C207D

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

Preview Lab → · Contrast checker → · Palette generator →

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