#6D207B#6D207B

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

Color values

HEX#6D207B
RGBrgb(109, 32, 123)
HSLhsl(291, 59%, 30%)
HSVhsv(291, 74%, 48%)
CMYKcmyk(11.4%, 74%, 0%, 51.8%)
CIE-LABlab(28.68, 46.54, -35.29)
CIE-LCHlch(28.68, 58.41, 322.83°)
OKLaboklab(40.56% 0.1221 -0.0987)
OKLCHoklch(40.56% 0.157 321)
XYZxyz(10.3979, 5.7148, 19.2904)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D207B #2E7B20
analogous
#3F207B #6D207B #7B205B
triadic
#6D207B #7B6D20 #207B6D
tetradic
#6D207B #7B3F20 #2E7B20 #205B7B
square
#6D207B #7B3F20 #2E7B20 #205B7B
split-complementary
#6D207B #5B7B20 #207B3F
monochromatic
#17071A #42134A #6D207B #982DAC #BA46CF

Accessibility & contrast

On white

9.80
#6D207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D207B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D207B#FFFFFF#000000##FFFFFF
##6D207B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#2A4679
Tritanopia (blue-blind)
#6E314B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d207b;
/* rgb */ color: rgb(109, 32, 123);
/* oklch */ color: oklch(40.6% 0.157 321.0);
Tailwind
colors: {
  custom: {
    50: '#9a64a2',
    500: '#6d207b',
    950: '#000000',
  },
}
SCSS
$custom: #6d207b;
$custom-light: #9a64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d207b",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 290.769,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.157,
    "h": 321
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#6D207B
secondary
#58AE49
accent
#E2465E
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D207B

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

Preview Lab → · Contrast checker → · Palette generator →

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