#6F218D#6F218D

#6F218D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.173 H 314.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#6F218D
RGBrgb(111, 33, 141)
HSLhsl(283, 62%, 34%)
HSVhsv(283, 77%, 55%)
CMYKcmyk(21.3%, 76.6%, 0%, 44.7%)
CIE-LABlab(30.38, 50.28, -43.80)
CIE-LCHlch(30.38, 66.68, 318.94°)
OKLaboklab(42.22% 0.1217 -0.1236)
OKLCHoklch(42.22% 0.173 314.6)
XYZxyz(11.9063, 6.3907, 25.8005)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F218D #3F8D21
analogous
#39218D #6F218D #8D2175
triadic
#6F218D #8D6F21 #218D6F
tetradic
#6F218D #8D3921 #3F8D21 #21758D
square
#6F218D #8D3921 #3F8D21 #21758D
split-complementary
#6F218D #758D21 #218D39
monochromatic
#210A2A #48155B #6F218D #962DBF #B252D6

Accessibility & contrast

On white

9.22
#6F218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F218D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F218D#FFFFFF#000000##FFFFFF
##6F218D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#1B498B
Tritanopia (blue-blind)
#6C3956
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f218d;
/* rgb */ color: rgb(111, 33, 141);
/* oklch */ color: oklch(42.2% 0.173 314.6);
Tailwind
colors: {
  custom: {
    50: '#9c65af',
    500: '#6f218d',
    950: '#000000',
  },
}
SCSS
$custom: #6f218d;
$custom-light: #9c65af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f218d",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 283.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.17346,
    "h": 314.6
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#6F218D
secondary
#6DBA50
accent
#E54370
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F218D

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

Preview Lab → · Contrast checker → · Palette generator →

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