#6E218C#6E218C

#6E218C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.172 H 314.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#6E218C
RGBrgb(110, 33, 140)
HSLhsl(283, 62%, 34%)
HSVhsv(283, 76%, 55%)
CMYKcmyk(21.4%, 76.4%, 0%, 45.1%)
CIE-LABlab(30.15, 49.86, -43.56)
CIE-LCHlch(30.15, 66.21, 318.86°)
OKLaboklab(42% 0.1205 -0.1229)
OKLCHoklch(42% 0.172 314.4)
XYZxyz(11.7071, 6.2966, 25.4045)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E218C #3F8C21
analogous
#39218C #6E218C #8C2175
triadic
#6E218C #8C6E21 #218C6E
tetradic
#6E218C #8C3921 #3F8C21 #21758C
square
#6E218C #8C3921 #3F8C21 #21758C
split-complementary
#6E218C #758C21 #218C39
monochromatic
#200A29 #47155A #6E218C #952DBE #B151D6

Accessibility & contrast

On white

9.30
#6E218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6E218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E218C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E218C#FFFFFF#000000##FFFFFF
##6E218C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e218c;
/* rgb */ color: rgb(110, 33, 140);
/* oklch */ color: oklch(42.0% 0.172 314.4);
Tailwind
colors: {
  custom: {
    50: '#9b65ae',
    500: '#6e218c',
    950: '#000000',
  },
}
SCSS
$custom: #6e218c;
$custom-light: #9b65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e218c",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 283.178,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.17215,
    "h": 314.4
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E218C

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

Preview Lab → · Contrast checker → · Palette generator →

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