#6E2187#6E2187

#6E2187 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.167 H 316.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6E2187
RGBrgb(110, 33, 135)
HSLhsl(285, 61%, 33%)
HSVhsv(285, 76%, 53%)
CMYKcmyk(18.5%, 75.6%, 0%, 47.1%)
CIE-LABlab(29.79, 48.81, -41.02)
CIE-LCHlch(29.79, 63.76, 319.95°)
OKLaboklab(41.64% 0.1212 -0.1155)
OKLCHoklch(41.64% 0.167 316.4)
XYZxyz(11.3468, 6.1524, 23.5068)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2187 #3A8721
analogous
#3B2187 #6E2187 #87216D
triadic
#6E2187 #876E21 #21876E
tetradic
#6E2187 #873B21 #3A8721 #216D87
square
#6E2187 #873B21 #3A8721 #216D87
split-complementary
#6E2187 #6D8721 #21873B
monochromatic
#1E0925 #461556 #6E2187 #962DB8 #B34FD4

Accessibility & contrast

On white

9.42
#6E2187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6E2187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2187
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2187#FFFFFF#000000##FFFFFF
##6E21871.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#214885
Tritanopia (blue-blind)
#6C3752
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2187;
/* rgb */ color: rgb(110, 33, 135);
/* oklch */ color: oklch(41.6% 0.167 316.4);
Tailwind
colors: {
  custom: {
    50: '#9b65ab',
    500: '#6e2187',
    950: '#000000',
  },
}
SCSS
$custom: #6e2187;
$custom-light: #9b65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2187",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 285.294,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41639,
    "c": 0.16741,
    "h": 316.4
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#6E2187
secondary
#67B74D
accent
#E4446B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E2187

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

Preview Lab → · Contrast checker → · Palette generator →

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