#6F218A#6F218A

#6F218A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.171 H 315.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#6F218A
RGBrgb(111, 33, 138)
HSLhsl(285, 61%, 34%)
HSVhsv(285, 76%, 54%)
CMYKcmyk(19.6%, 76.1%, 0%, 45.9%)
CIE-LABlab(30.16, 49.65, -42.29)
CIE-LCHlch(30.16, 65.21, 319.58°)
OKLaboklab(42% 0.1221 -0.1192)
OKLCHoklch(42% 0.171 315.7)
XYZxyz(11.6861, 6.3026, 24.6408)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F218A #3C8A21
analogous
#3A218A #6F218A #8A2170
triadic
#6F218A #8A6F21 #218A6F
tetradic
#6F218A #8A3A21 #3C8A21 #21708A
square
#6F218A #8A3A21 #3C8A21 #21708A
split-complementary
#6F218A #708A21 #218A3A
monochromatic
#200927 #471559 #6F218A #972DBB #B350D5

Accessibility & contrast

On white

9.29
#6F218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6F218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F218A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F218A#FFFFFF#000000##FFFFFF
##6F218A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#1F4988
Tritanopia (blue-blind)
#6D3854
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f218a;
/* rgb */ color: rgb(111, 33, 138);
/* oklch */ color: oklch(42.0% 0.171 315.7);
Tailwind
colors: {
  custom: {
    50: '#9c65ad',
    500: '#6f218a',
    950: '#000000',
  },
}
SCSS
$custom: #6f218a;
$custom-light: #9c65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f218a",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 284.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.17062,
    "h": 315.7
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#6F218A
secondary
#6AB94E
accent
#E5436D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F218A

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

Preview Lab → · Contrast checker → · Palette generator →

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