#6F218C#6F218C

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

Color values

HEX#6F218C
RGBrgb(111, 33, 140)
HSLhsl(284, 62%, 34%)
HSVhsv(284, 76%, 55%)
CMYKcmyk(20.7%, 76.4%, 0%, 45.1%)
CIE-LABlab(30.31, 50.06, -43.30)
CIE-LCHlch(30.31, 66.19, 319.15°)
OKLaboklab(42.15% 0.1218 -0.1221)
OKLCHoklch(42.15% 0.173 314.9)
XYZxyz(11.8322, 6.3611, 25.4104)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F218C #3E8C21
analogous
#3A218C #6F218C #8C2174
triadic
#6F218C #8C6F21 #218C6F
tetradic
#6F218C #8C3A21 #3E8C21 #21748C
square
#6F218C #8C3A21 #3E8C21 #21748C
split-complementary
#6F218C #748C21 #218C3A
monochromatic
#200A29 #48155A #6F218C #962DBE #B251D6

Accessibility & contrast

On white

9.24
#6F218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6F218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F218C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F218C#FFFFFF#000000##FFFFFF
##6F218C1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#6D3955
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f218c;
/* rgb */ color: rgb(111, 33, 140);
/* oklch */ color: oklch(42.1% 0.173 314.9);
Tailwind
colors: {
  custom: {
    50: '#9c65ae',
    500: '#6f218c',
    950: '#000000',
  },
}
SCSS
$custom: #6f218c;
$custom-light: #9c65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f218c",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 283.738,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42147,
    "c": 0.17251,
    "h": 314.9
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#6F218C
secondary
#6CB94F
accent
#E5436F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F218C

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

Preview Lab → · Contrast checker → · Palette generator →

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