#6F216B#6F216B

#6F216B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.142 H 330.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#6F216B
RGBrgb(111, 33, 107)
HSLhsl(303, 54%, 28%)
HSVhsv(303, 70%, 44%)
CMYKcmyk(0%, 70.3%, 3.6%, 56.5%)
CIE-LABlab(28.19, 43.60, -25.85)
CIE-LCHlch(28.19, 50.68, 329.34°)
OKLaboklab(39.96% 0.1234 -0.0712)
OKLCHoklch(39.96% 0.142 330)
XYZxyz(9.7532, 5.5295, 14.4607)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F216B #216F25
analogous
#4C216F #6F216B #6F2144
triadic
#6F216B #6B6F21 #216B6F
tetradic
#6F216B #6F4C21 #216F25 #21446F
square
#6F216B #6F4C21 #216F25 #21446F
split-complementary
#6F216B #446F21 #216F4C
monochromatic
#180717 #40133E #6F216B #9E2F98 #C743C0

Accessibility & contrast

On white

9.97
#6F216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6F216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F216B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F216B#FFFFFF#000000##FFFFFF
##6F216B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#374669
Tritanopia (blue-blind)
#732A43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f216b;
/* rgb */ color: rgb(111, 33, 107);
/* oklch */ color: oklch(40.0% 0.142 330.0);
Tailwind
colors: {
  custom: {
    50: '#9b6495',
    500: '#6f216b',
    950: '#000000',
  },
}
SCSS
$custom: #6f216b;
$custom-light: #9b6495;
$custom-dark: #000000;
JSON
{
  "hex": "#6f216b",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 303.077,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39959,
    "c": 0.14245,
    "h": 330
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#6F216B
secondary
#49A34E
accent
#DE524A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F216B

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

Preview Lab → · Contrast checker → · Palette generator →

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