#6D207F#6D207F

#6D207F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.161 H 319.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#6D207F
RGBrgb(109, 32, 127)
HSLhsl(289, 60%, 31%)
HSVhsv(289, 75%, 50%)
CMYKcmyk(14.2%, 74.8%, 0%, 50.2%)
CIE-LABlab(28.95, 47.34, -37.39)
CIE-LCHlch(28.95, 60.33, 321.70°)
OKLaboklab(40.83% 0.1218 -0.1049)
OKLCHoklch(40.83% 0.161 319.3)
XYZxyz(10.6535, 5.8171, 20.6362)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D207F #327F20
analogous
#3D207F #6D207F #7F2061
triadic
#6D207F #7F6D20 #207F6D
tetradic
#6D207F #7F3D20 #327F20 #20617F
square
#6D207F #7F3D20 #327F20 #20617F
split-complementary
#6D207F #617F20 #207F3D
monochromatic
#19071D #43144E #6D207F #972CB0 #B748D1

Accessibility & contrast

On white

9.71
#6D207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6D207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D207F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D207F#FFFFFF#000000##FFFFFF
##6D207F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#6D334E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d207f;
/* rgb */ color: rgb(109, 32, 127);
/* oklch */ color: oklch(40.8% 0.161 319.3);
Tailwind
colors: {
  custom: {
    50: '#9a64a5',
    500: '#6d207f',
    950: '#000000',
  },
}
SCSS
$custom: #6d207f;
$custom-light: #9a64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d207f",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 288.632,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.1607,
    "h": 319.3
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#6D207F
secondary
#5DB249
accent
#E34563
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D207F

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

Preview Lab → · Contrast checker → · Palette generator →

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