#6E2285#6E2285

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

Color values

HEX#6E2285
RGBrgb(110, 34, 133)
HSLhsl(286, 59%, 33%)
HSVhsv(286, 74%, 52%)
CMYKcmyk(17.3%, 74.4%, 0%, 47.8%)
CIE-LABlab(29.80, 47.99, -39.78)
CIE-LCHlch(29.80, 62.33, 320.35°)
OKLaboklab(41.6% 0.1204 -0.1118)
OKLCHoklch(41.6% 0.164 317.1)
XYZxyz(11.2354, 6.1530, 22.7816)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2285 #398522
analogous
#3D2285 #6E2285 #85226A
triadic
#6E2285 #856E22 #22856E
tetradic
#6E2285 #853D22 #398522 #226A85
square
#6E2285 #853D22 #398522 #226A85
split-complementary
#6E2285 #6A8522 #22853D
monochromatic
#1D0924 #461654 #6E2285 #962EB6 #B44FD2

Accessibility & contrast

On white

9.41
#6E2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2285
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2285#FFFFFF#000000##FFFFFF
##6E22851.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#244883
Tritanopia (blue-blind)
#6D3651
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2285;
/* rgb */ color: rgb(110, 34, 133);
/* oklch */ color: oklch(41.6% 0.164 317.1);
Tailwind
colors: {
  custom: {
    50: '#9b65a9',
    500: '#6e2285',
    950: '#000000',
  },
}
SCSS
$custom: #6e2285;
$custom-light: #9b65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2285",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 286.061,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.16434,
    "h": 317.1
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#6E2285
secondary
#65B64D
accent
#E2456A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E2285

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

Preview Lab → · Contrast checker → · Palette generator →

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