#6B207D#6B207D

#6B207D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.158 H 319.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6B207D
RGBrgb(107, 32, 125)
HSLhsl(288, 59%, 31%)
HSVhsv(288, 74%, 49%)
CMYKcmyk(14.4%, 74.4%, 0%, 51%)
CIE-LABlab(28.49, 46.49, -36.89)
CIE-LCHlch(28.49, 59.34, 321.57°)
OKLaboklab(40.39% 0.1194 -0.1035)
OKLCHoklch(40.39% 0.158 319.1)
XYZxyz(10.2811, 5.6400, 19.9451)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B207D #327D20
analogous
#3C207D #6B207D #7D2060
triadic
#6B207D #7D6B20 #207D6B
tetradic
#6B207D #7D3C20 #327D20 #20607D
square
#6B207D #7D3C20 #327D20 #20607D
split-complementary
#6B207D #607D20 #207D3C
monochromatic
#18071C #41144C #6B207D #952CAE #B647D0

Accessibility & contrast

On white

9.87
#6B207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6B207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B207D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B207D#FFFFFF#000000##FFFFFF
##6B207D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#26467B
Tritanopia (blue-blind)
#6B324C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b207d;
/* rgb */ color: rgb(107, 32, 125);
/* oklch */ color: oklch(40.4% 0.158 319.1);
Tailwind
colors: {
  custom: {
    50: '#9963a3',
    500: '#6b207d',
    950: '#000000',
  },
}
SCSS
$custom: #6b207d;
$custom-light: #9963a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b207d",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 288.387,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.15797,
    "h": 319.1
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#6B207D
secondary
#5DB049
accent
#E24564
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B207D

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

Preview Lab → · Contrast checker → · Palette generator →

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