#6F217B#6F217B

#6F217B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.157 H 322.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6F217B
RGBrgb(111, 33, 123)
HSLhsl(292, 58%, 31%)
HSVhsv(292, 73%, 48%)
CMYKcmyk(9.8%, 73.2%, 0%, 51.8%)
CIE-LABlab(29.15, 46.61, -34.52)
CIE-LCHlch(29.15, 58.00, 323.47°)
OKLaboklab(40.96% 0.1235 -0.0964)
OKLCHoklch(40.96% 0.157 322)
XYZxyz(10.6742, 5.8979, 19.3112)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F217B #2D7B21
analogous
#42217B #6F217B #7B215A
triadic
#6F217B #7B6F21 #217B6F
tetradic
#6F217B #7B4221 #2D7B21 #215A7B
square
#6F217B #7B4221 #2D7B21 #215A7B
split-complementary
#6F217B #5A7B21 #217B42
monochromatic
#18071A #43144B #6F217B #9B2EAB #BC48CE

Accessibility & contrast

On white

9.64
#6F217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6F217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F217B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F217B#FFFFFF#000000##FFFFFF
##6F217B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#2D4879
Tritanopia (blue-blind)
#70314C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f217b;
/* rgb */ color: rgb(111, 33, 123);
/* oklch */ color: oklch(41.0% 0.157 322.0);
Tailwind
colors: {
  custom: {
    50: '#9b64a2',
    500: '#6f217b',
    950: '#000000',
  },
}
SCSS
$custom: #6f217b;
$custom-light: #9b64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f217b",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 292,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40959,
    "c": 0.15668,
    "h": 322
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#6F217B
secondary
#57AE4A
accent
#E1475B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F217B

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

Preview Lab → · Contrast checker → · Palette generator →

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