#6B217A#6B217A

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

Color values

HEX#6B217A
RGBrgb(107, 33, 122)
HSLhsl(290, 57%, 30%)
HSVhsv(290, 73%, 48%)
CMYKcmyk(12.3%, 73%, 0%, 52.2%)
CIE-LABlab(28.43, 45.47, -35.08)
CIE-LCHlch(28.43, 57.43, 322.35°)
OKLaboklab(40.29% 0.1185 -0.0982)
OKLCHoklch(40.29% 0.154 320.4)
XYZxyz(10.1197, 5.6192, 18.9601)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B217A #307A21
analogous
#3F217A #6B217A #7A215C
triadic
#6B217A #7A6B21 #217A6B
tetradic
#6B217A #7A3F21 #307A21 #215C7A
square
#6B217A #7A3F21 #307A21 #215C7A
split-complementary
#6B217A #5C7A21 #217A3F
monochromatic
#17071A #41144A #6B217A #952EAA #B748CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B217A#FFFFFF#000000##FFFFFF
##6B217A1.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)
#003E7D
Deuteranopia (green-blind)
#2A4678
Tritanopia (blue-blind)
#6C324B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b217a;
/* rgb */ color: rgb(107, 33, 122);
/* oklch */ color: oklch(40.3% 0.154 320.4);
Tailwind
colors: {
  custom: {
    50: '#9864a1',
    500: '#6b217a',
    950: '#000000',
  },
}
SCSS
$custom: #6b217a;
$custom-light: #9864a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b217a",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 289.888,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4029,
    "c": 0.1539,
    "h": 320.4
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#6B217A
secondary
#5BAD4A
accent
#E14761
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6B217A

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

Preview Lab → · Contrast checker → · Palette generator →

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