#6E2287#6E2287

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

Color values

HEX#6E2287
RGBrgb(110, 34, 135)
HSLhsl(285, 60%, 33%)
HSVhsv(285, 75%, 53%)
CMYKcmyk(18.5%, 74.8%, 0%, 47.1%)
CIE-LABlab(29.93, 48.41, -40.80)
CIE-LCHlch(29.93, 63.31, 319.88°)
OKLaboklab(41.74% 0.1202 -0.1148)
OKLCHoklch(41.74% 0.166 316.3)
XYZxyz(11.3749, 6.2088, 23.5162)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2287 #3B8722
analogous
#3C2287 #6E2287 #87226D
triadic
#6E2287 #876E22 #22876E
tetradic
#6E2287 #873C22 #3B8722 #226D87
square
#6E2287 #873C22 #3B8722 #226D87
split-complementary
#6E2287 #6D8722 #22873C
monochromatic
#1E0925 #461656 #6E2287 #962EB8 #B350D3

Accessibility & contrast

On white

9.37
#6E2287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2287
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2287#FFFFFF#000000##FFFFFF
##6E22871.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2287;
/* rgb */ color: rgb(110, 34, 135);
/* oklch */ color: oklch(41.7% 0.166 316.3);
Tailwind
colors: {
  custom: {
    50: '#9b65aa',
    500: '#6e2287',
    950: '#000000',
  },
}
SCSS
$custom: #6e2287;
$custom-light: #9b65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2287",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 285.149,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.16623,
    "h": 316.3
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#6E2287
secondary
#68B74E
accent
#E3456C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E2287

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

Preview Lab → · Contrast checker → · Palette generator →

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