#6F218E#6F218E

#6F218E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.174 H 314.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6F218E
RGBrgb(111, 33, 142)
HSLhsl(283, 62%, 34%)
HSVhsv(283, 77%, 56%)
CMYKcmyk(21.8%, 76.8%, 0%, 44.3%)
CIE-LABlab(30.45, 50.49, -44.30)
CIE-LCHlch(30.45, 67.17, 318.73°)
OKLaboklab(42.29% 0.1215 -0.1251)
OKLCHoklch(42.29% 0.174 314.2)
XYZxyz(11.9811, 6.4206, 26.1941)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F218E #408E21
analogous
#39218E #6F218E #8E2177
triadic
#6F218E #8E6F21 #218E6F
tetradic
#6F218E #8E3921 #408E21 #21778E
square
#6F218E #8E3921 #408E21 #21778E
split-complementary
#6F218E #778E21 #218E39
monochromatic
#210A2B #48155C #6F218E #962DC0 #B152D7

Accessibility & contrast

On white

9.19
#6F218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6F218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F218E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F218E#FFFFFF#000000##FFFFFF
##6F218E1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#194A8C
Tritanopia (blue-blind)
#6C3A56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f218e;
/* rgb */ color: rgb(111, 33, 142);
/* oklch */ color: oklch(42.3% 0.174 314.2);
Tailwind
colors: {
  custom: {
    50: '#9c65b0',
    500: '#6f218e',
    950: '#000000',
  },
}
SCSS
$custom: #6f218e;
$custom-light: #9c65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f218e",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 282.936,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.1744,
    "h": 314.2
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#6F218E
secondary
#6FBA50
accent
#E54271
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F218E

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

Preview Lab → · Contrast checker → · Palette generator →

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