#6E2286#6E2286

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

Color values

HEX#6E2286
RGBrgb(110, 34, 134)
HSLhsl(286, 60%, 33%)
HSVhsv(286, 75%, 53%)
CMYKcmyk(17.9%, 74.6%, 0%, 47.5%)
CIE-LABlab(29.86, 48.20, -40.29)
CIE-LCHlch(29.86, 62.82, 320.11°)
OKLaboklab(41.67% 0.1203 -0.1133)
OKLCHoklch(41.67% 0.165 316.7)
XYZxyz(11.3049, 6.1807, 23.1471)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2286 #3A8622
analogous
#3C2286 #6E2286 #86226C
triadic
#6E2286 #866E22 #22866E
tetradic
#6E2286 #863C22 #3A8622 #226C86
square
#6E2286 #863C22 #3A8622 #226C86
split-complementary
#6E2286 #6C8622 #22863C
monochromatic
#1E0924 #461655 #6E2286 #962EB7 #B350D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E2286#FFFFFF#000000##FFFFFF
##6E22861.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)
#004289
Deuteranopia (green-blind)
#234984
Tritanopia (blue-blind)
#6D3752
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2286;
/* rgb */ color: rgb(110, 34, 134);
/* oklch */ color: oklch(41.7% 0.165 316.7);
Tailwind
colors: {
  custom: {
    50: '#9b65aa',
    500: '#6e2286',
    950: '#000000',
  },
}
SCSS
$custom: #6e2286;
$custom-light: #9b65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2286",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 285.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41667,
    "c": 0.16528,
    "h": 316.7
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#6E2286
secondary
#67B64E
accent
#E3456B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E2286

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

Preview Lab → · Contrast checker → · Palette generator →

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