#6B207C#6B207C

#6B207C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.157 H 319.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#6B207C
RGBrgb(107, 32, 124)
HSLhsl(289, 59%, 31%)
HSVhsv(289, 74%, 49%)
CMYKcmyk(13.7%, 74.2%, 0%, 51.4%)
CIE-LABlab(28.42, 46.28, -36.36)
CIE-LCHlch(28.42, 58.86, 321.84°)
OKLaboklab(40.32% 0.1195 -0.1019)
OKLCHoklch(40.32% 0.157 319.5)
XYZxyz(10.2175, 5.6146, 19.6104)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B207C #317C20
analogous
#3D207C #6B207C #7C205F
triadic
#6B207C #7C6B20 #207C6B
tetradic
#6B207C #7C3D20 #317C20 #205F7C
square
#6B207C #7C3D20 #317C20 #205F7C
split-complementary
#6B207C #5F7C20 #207C3D
monochromatic
#17071B #41134B #6B207C #952DAD #B647CF

Accessibility & contrast

On white

9.89
#6B207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6B207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B207C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B207C#FFFFFF#000000##FFFFFF
##6B207C1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#27467A
Tritanopia (blue-blind)
#6B324C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b207c;
/* rgb */ color: rgb(107, 32, 124);
/* oklch */ color: oklch(40.3% 0.157 319.5);
Tailwind
colors: {
  custom: {
    50: '#9963a2',
    500: '#6b207c',
    950: '#000000',
  },
}
SCSS
$custom: #6b207c;
$custom-light: #9963a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b207c",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 288.913,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40324,
    "c": 0.15703,
    "h": 319.5
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#6B207C
secondary
#5CAF49
accent
#E24663
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B207C

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

Preview Lab → · Contrast checker → · Palette generator →

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