#6E2188#6E2188

#6E2188 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.168 H 316.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#6E2188
RGBrgb(110, 33, 136)
HSLhsl(285, 61%, 33%)
HSVhsv(285, 76%, 53%)
CMYKcmyk(19.1%, 75.7%, 0%, 46.7%)
CIE-LABlab(29.86, 49.02, -41.53)
CIE-LCHlch(29.86, 64.25, 319.72°)
OKLaboklab(41.71% 0.1211 -0.117)
OKLCHoklch(41.71% 0.168 316)
XYZxyz(11.4175, 6.1807, 23.8794)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2188 #3B8821
analogous
#3A2188 #6E2188 #88216E
triadic
#6E2188 #886E21 #21886E
tetradic
#6E2188 #883A21 #3B8821 #216E88
square
#6E2188 #883A21 #3B8821 #216E88
split-complementary
#6E2188 #6E8821 #21883A
monochromatic
#1E0925 #461557 #6E2188 #962DB9 #B34FD4

Accessibility & contrast

On white

9.39
#6E2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6E2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2188
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2188#FFFFFF#000000##FFFFFF
##6E21881.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#204886
Tritanopia (blue-blind)
#6C3753
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2188;
/* rgb */ color: rgb(110, 33, 136);
/* oklch */ color: oklch(41.7% 0.168 316.0);
Tailwind
colors: {
  custom: {
    50: '#9b65ab',
    500: '#6e2188',
    950: '#000000',
  },
}
SCSS
$custom: #6e2188;
$custom-light: #9b65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2188",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 284.854,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.16836,
    "h": 316
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#6E2188
secondary
#68B84D
accent
#E4446C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E2188

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

Preview Lab → · Contrast checker → · Palette generator →

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