#6D208B#6D208B

#6D208B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.172 H 314.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6D208B
RGBrgb(109, 32, 139)
HSLhsl(283, 63%, 34%)
HSVhsv(283, 77%, 55%)
CMYKcmyk(21.6%, 77%, 0%, 45.5%)
CIE-LABlab(29.78, 49.83, -43.53)
CIE-LCHlch(29.78, 66.17, 318.86°)
OKLaboklab(41.69% 0.1203 -0.1229)
OKLCHoklch(41.69% 0.172 314.4)
XYZxyz(11.4826, 6.1487, 25.0030)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D208B #3E8B20
analogous
#38208B #6D208B #8B2073
triadic
#6D208B #8B6D20 #208B6D
tetradic
#6D208B #8B3820 #3E8B20 #20738B
square
#6D208B #8B3820 #3E8B20 #20738B
split-complementary
#6D208B #738B20 #208B38
monochromatic
#1F0928 #461559 #6D208B #942BBD #B04FD6

Accessibility & contrast

On white

9.42
#6D208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D208B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D208B#FFFFFF#000000##FFFFFF
##6D208B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#6A3854
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d208b;
/* rgb */ color: rgb(109, 32, 139);
/* oklch */ color: oklch(41.7% 0.172 314.4);
Tailwind
colors: {
  custom: {
    50: '#9b64ad',
    500: '#6d208b',
    950: '#000000',
  },
}
SCSS
$custom: #6d208b;
$custom-light: #9b64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d208b",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 283.178,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41691,
    "c": 0.17197,
    "h": 314.4
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#6D208B
secondary
#6CBA4D
accent
#E64270
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D208B

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

Preview Lab → · Contrast checker → · Palette generator →

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