#6B208B#6B208B

#6B208B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 313.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6B208B
RGBrgb(107, 32, 139)
HSLhsl(282, 63%, 34%)
HSVhsv(282, 77%, 55%)
CMYKcmyk(23%, 77%, 0%, 45.5%)
CIE-LABlab(29.47, 49.42, -44.06)
CIE-LCHlch(29.47, 66.21, 318.28°)
OKLaboklab(41.41% 0.1176 -0.1245)
OKLCHoklch(41.41% 0.171 313.4)
XYZxyz(11.2393, 6.0233, 24.9916)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B208B #408B20
analogous
#35208B #6B208B #8B2075
triadic
#6B208B #8B6B20 #208B6B
tetradic
#6B208B #8B3520 #408B20 #20758B
square
#6B208B #8B3520 #408B20 #20758B
split-complementary
#6B208B #758B20 #208B35
monochromatic
#1E0928 #451559 #6B208B #912BBD #AE4FD6

Accessibility & contrast

On white

9.53
#6B208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B208B
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B208B#FFFFFF#000000##FFFFFF
##6B208B1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#154789
Tritanopia (blue-blind)
#683854
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b208b;
/* rgb */ color: rgb(107, 32, 139);
/* oklch */ color: oklch(41.4% 0.171 313.4);
Tailwind
colors: {
  custom: {
    50: '#9964ae',
    500: '#6b208b',
    950: '#000000',
  },
}
SCSS
$custom: #6b208b;
$custom-light: #9964ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6b208b",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 282.056,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.17126,
    "h": 313.4
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#6B208B
secondary
#6EBA4D
accent
#E64273
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B208B

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

Preview Lab → · Contrast checker → · Palette generator →

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