#6F217A#6F217A

#6F217A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.156 H 322.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6F217A
RGBrgb(111, 33, 122)
HSLhsl(293, 57%, 30%)
HSVhsv(293, 73%, 48%)
CMYKcmyk(9%, 73%, 0%, 52.2%)
CIE-LABlab(29.09, 46.41, -33.99)
CIE-LCHlch(29.09, 57.52, 323.78°)
OKLaboklab(40.89% 0.1236 -0.0949)
OKLCHoklch(40.89% 0.156 322.5)
XYZxyz(10.6119, 5.8730, 18.9832)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F217A #2C7A21
analogous
#42217A #6F217A #7A2158
triadic
#6F217A #7A6F21 #217A6F
tetradic
#6F217A #7A4221 #2C7A21 #21587A
square
#6F217A #7A4221 #2C7A21 #21587A
split-complementary
#6F217A #587A21 #217A42
monochromatic
#17071A #43144A #6F217A #9B2EAA #BD48CD

Accessibility & contrast

On white

9.66
#6F217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6F217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F217A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F217A#FFFFFF#000000##FFFFFF
##6F217A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7D
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#71314B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f217a;
/* rgb */ color: rgb(111, 33, 122);
/* oklch */ color: oklch(40.9% 0.156 322.5);
Tailwind
colors: {
  custom: {
    50: '#9b64a1',
    500: '#6f217a',
    950: '#000000',
  },
}
SCSS
$custom: #6f217a;
$custom-light: #9b64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f217a",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 292.584,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.15577,
    "h": 322.5
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#6F217A
secondary
#56AD4A
accent
#E1475A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F217A

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

Preview Lab → · Contrast checker → · Palette generator →

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