#6E218E#6E218E

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

Color values

HEX#6E218E
RGBrgb(110, 33, 142)
HSLhsl(282, 62%, 34%)
HSVhsv(282, 77%, 56%)
CMYKcmyk(22.5%, 76.8%, 0%, 44.3%)
CIE-LABlab(30.29, 50.28, -44.56)
CIE-LCHlch(30.29, 67.19, 318.45°)
OKLaboklab(42.15% 0.1202 -0.1259)
OKLCHoklch(42.15% 0.174 313.7)
XYZxyz(11.8559, 6.3561, 26.1883)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E218E #418E21
analogous
#37218E #6E218E #8E2178
triadic
#6E218E #8E6E21 #218E6E
tetradic
#6E218E #8E3721 #418E21 #21788E
square
#6E218E #8E3721 #418E21 #21788E
split-complementary
#6E218E #788E21 #218E37
monochromatic
#210A2B #48155C #6E218E #942DC0 #B052D7

Accessibility & contrast

On white

9.25
#6E218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E218E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E218E#FFFFFF#000000##FFFFFF
##6E218E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#6B3A56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e218e;
/* rgb */ color: rgb(110, 33, 142);
/* oklch */ color: oklch(42.2% 0.174 313.7);
Tailwind
colors: {
  custom: {
    50: '#9c65b0',
    500: '#6e218e',
    950: '#000000',
  },
}
SCSS
$custom: #6e218e;
$custom-light: #9c65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e218e",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 282.385,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42152,
    "c": 0.17405,
    "h": 313.7
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#6E218E
secondary
#70BA50
accent
#E54272
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E218E

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

Preview Lab → · Contrast checker → · Palette generator →

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