#6F218F#6F218F

#6F218F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.175 H 313.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#6F218F
RGBrgb(111, 33, 143)
HSLhsl(283, 63%, 35%)
HSVhsv(283, 77%, 56%)
CMYKcmyk(22.4%, 76.9%, 0%, 43.9%)
CIE-LABlab(30.52, 50.70, -44.80)
CIE-LCHlch(30.52, 67.66, 318.53°)
OKLaboklab(42.37% 0.1214 -0.1265)
OKLCHoklch(42.37% 0.175 313.8)
XYZxyz(12.0565, 6.4508, 26.5913)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F218F #418F21
analogous
#38218F #6F218F #8F2178
triadic
#6F218F #8F6F21 #218F6F
tetradic
#6F218F #8F3821 #418F21 #21788F
square
#6F218F #8F3821 #418F21 #21788F
split-complementary
#6F218F #788F21 #218F38
monochromatic
#220A2C #48165D #6F218F #962CC1 #B153D7

Accessibility & contrast

On white

9.17
#6F218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6F218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F218F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F218F#FFFFFF#000000##FFFFFF
##6F218F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#6C3A57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f218f;
/* rgb */ color: rgb(111, 33, 143);
/* oklch */ color: oklch(42.4% 0.175 313.8);
Tailwind
colors: {
  custom: {
    50: '#9c65b0',
    500: '#6f218f',
    950: '#000000',
  },
}
SCSS
$custom: #6f218f;
$custom-light: #9c65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f218f",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 282.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42369,
    "c": 0.17535,
    "h": 313.8
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#6F218F
secondary
#70BB51
accent
#E64272
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F218F

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

Preview Lab → · Contrast checker → · Palette generator →

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