#6B208E#6B208E

#6B208E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.174 H 312.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#6B208E
RGBrgb(107, 32, 142)
HSLhsl(281, 63%, 34%)
HSVhsv(281, 77%, 56%)
CMYKcmyk(24.6%, 77.5%, 0%, 44.3%)
CIE-LABlab(29.69, 50.07, -45.55)
CIE-LCHlch(29.69, 67.69, 317.70°)
OKLaboklab(41.63% 0.1171 -0.1289)
OKLCHoklch(41.63% 0.174 312.3)
XYZxyz(11.4615, 6.1121, 26.1619)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B208E #438E20
analogous
#34208E #6B208E #8E207A
triadic
#6B208E #8E6B20 #208E6B
tetradic
#6B208E #8E3420 #438E20 #207A8E
square
#6B208E #8E3420 #438E20 #207A8E
split-complementary
#6B208E #7A8E20 #208E34
monochromatic
#20092A #45155C #6B208E #912BC0 #AD51D8

Accessibility & contrast

On white

9.45
#6B208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6B208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B208E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B208E#FFFFFF#000000##FFFFFF
##6B208E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#0F478C
Tritanopia (blue-blind)
#673A56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b208e;
/* rgb */ color: rgb(107, 32, 142);
/* oklch */ color: oklch(41.6% 0.174 312.3);
Tailwind
colors: {
  custom: {
    50: '#9964b0',
    500: '#6b208e',
    950: '#000000',
  },
}
SCSS
$custom: #6b208e;
$custom-light: #9964b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b208e",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 280.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.17413,
    "h": 312.3
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#6B208E
secondary
#71BB4F
accent
#E64276
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B208E

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

Preview Lab → · Contrast checker → · Palette generator →

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