#6E218D#6E218D

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

Color values

HEX#6E218D
RGBrgb(110, 33, 141)
HSLhsl(283, 62%, 34%)
HSVhsv(283, 77%, 55%)
CMYKcmyk(22%, 76.6%, 0%, 44.7%)
CIE-LABlab(30.22, 50.07, -44.06)
CIE-LCHlch(30.22, 66.70, 318.65°)
OKLaboklab(42.08% 0.1204 -0.1244)
OKLCHoklch(42.08% 0.173 314.1)
XYZxyz(11.7812, 6.3262, 25.7946)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E218D #408D21
analogous
#38218D #6E218D #8D2176
triadic
#6E218D #8D6E21 #218D6E
tetradic
#6E218D #8D3821 #408D21 #21768D
square
#6E218D #8D3821 #408D21 #21768D
split-complementary
#6E218D #768D21 #218D38
monochromatic
#210A2A #47155B #6E218D #952DBF #B052D6

Accessibility & contrast

On white

9.27
#6E218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E218D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E218D#FFFFFF#000000##FFFFFF
##6E218D1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#19498B
Tritanopia (blue-blind)
#6B3956
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e218d;
/* rgb */ color: rgb(110, 33, 141);
/* oklch */ color: oklch(42.1% 0.173 314.1);
Tailwind
colors: {
  custom: {
    50: '#9b65af',
    500: '#6e218d',
    950: '#000000',
  },
}
SCSS
$custom: #6e218d;
$custom-light: #9b65af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e218d",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 282.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42078,
    "c": 0.1731,
    "h": 314.1
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#6E218D
secondary
#6EBA50
accent
#E54371
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E218D

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

Preview Lab → · Contrast checker → · Palette generator →

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