#6D207E#6D207E

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

Color values

HEX#6D207E
RGBrgb(109, 32, 126)
HSLhsl(289, 59%, 31%)
HSVhsv(289, 75%, 49%)
CMYKcmyk(13.5%, 74.6%, 0%, 50.6%)
CIE-LABlab(28.88, 47.14, -36.87)
CIE-LCHlch(28.88, 59.85, 321.97°)
OKLaboklab(40.76% 0.1219 -0.1033)
OKLCHoklch(40.76% 0.16 319.7)
XYZxyz(10.5886, 5.7911, 20.2947)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D207E #317E20
analogous
#3E207E #6D207E #7E2060
triadic
#6D207E #7E6D20 #207E6D
tetradic
#6D207E #7E3E20 #317E20 #20607E
square
#6D207E #7E3E20 #317E20 #20607E
split-complementary
#6D207E #607E20 #207E3E
monochromatic
#19071C #43144D #6D207E #972CAF #B848D0

Accessibility & contrast

On white

9.73
#6D207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D207E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D207E#FFFFFF#000000##FFFFFF
##6D207E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#6D324D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d207e;
/* rgb */ color: rgb(109, 32, 126);
/* oklch */ color: oklch(40.8% 0.160 319.7);
Tailwind
colors: {
  custom: {
    50: '#9a64a4',
    500: '#6d207e',
    950: '#000000',
  },
}
SCSS
$custom: #6d207e;
$custom-light: #9a64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d207e",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 289.149,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.15978,
    "h": 319.7
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#6D207E
secondary
#5CB149
accent
#E34562
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D207E

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

Preview Lab → · Contrast checker → · Palette generator →

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