#6E2186#6E2186

#6E2186 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.166 H 316.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#6E2186
RGBrgb(110, 33, 134)
HSLhsl(286, 60%, 33%)
HSVhsv(286, 75%, 53%)
CMYKcmyk(17.9%, 75.4%, 0%, 47.5%)
CIE-LABlab(29.72, 48.60, -40.51)
CIE-LCHlch(29.72, 63.27, 320.19°)
OKLaboklab(41.57% 0.1213 -0.114)
OKLCHoklch(41.57% 0.166 316.8)
XYZxyz(11.2767, 6.1244, 23.1378)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2186 #398621
analogous
#3C2186 #6E2186 #86216B
triadic
#6E2186 #866E21 #21866E
tetradic
#6E2186 #863C21 #398621 #216B86
square
#6E2186 #863C21 #398621 #216B86
split-complementary
#6E2186 #6B8621 #21863C
monochromatic
#1D0924 #461555 #6E2186 #962DB7 #B44ED3

Accessibility & contrast

On white

9.44
#6E2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6E2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2186
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2186#FFFFFF#000000##FFFFFF
##6E21861.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#224884
Tritanopia (blue-blind)
#6D3652
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2186;
/* rgb */ color: rgb(110, 33, 134);
/* oklch */ color: oklch(41.6% 0.166 316.8);
Tailwind
colors: {
  custom: {
    50: '#9b65aa',
    500: '#6e2186',
    950: '#000000',
  },
}
SCSS
$custom: #6e2186;
$custom-light: #9b65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2186",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 285.743,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.16648,
    "h": 316.8
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#6E2186
secondary
#65B74C
accent
#E4446A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E2186

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

Preview Lab → · Contrast checker → · Palette generator →

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