#6B208C#6B208C

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

Color values

HEX#6B208C
RGBrgb(107, 32, 140)
HSLhsl(282, 63%, 34%)
HSVhsv(282, 77%, 55%)
CMYKcmyk(23.6%, 77.1%, 0%, 45.1%)
CIE-LABlab(29.54, 49.64, -44.56)
CIE-LCHlch(29.54, 66.70, 318.09°)
OKLaboklab(41.48% 0.1174 -0.126)
OKLCHoklch(41.48% 0.172 313)
XYZxyz(11.3127, 6.0526, 25.3782)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B208C #418C20
analogous
#35208C #6B208C #8C2077
triadic
#6B208C #8C6B20 #208C6B
tetradic
#6B208C #8C3520 #418C20 #20778C
square
#6B208C #8C3520 #418C20 #20778C
split-complementary
#6B208C #778C20 #208C35
monochromatic
#1F0928 #45155A #6B208C #912BBE #AE50D7

Accessibility & contrast

On white

9.50
#6B208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6B208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B208C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B208C#FFFFFF#000000##FFFFFF
##6B208C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#13478A
Tritanopia (blue-blind)
#673955
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b208c;
/* rgb */ color: rgb(107, 32, 140);
/* oklch */ color: oklch(41.5% 0.172 313.0);
Tailwind
colors: {
  custom: {
    50: '#9964ae',
    500: '#6b208c',
    950: '#000000',
  },
}
SCSS
$custom: #6b208c;
$custom-light: #9964ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6b208c",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 281.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.17222,
    "h": 313
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#6B208C
secondary
#6FBA4E
accent
#E64274
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B208C

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

Preview Lab → · Contrast checker → · Palette generator →

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