#6E2284#6E2284

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

Color values

HEX#6E2284
RGBrgb(110, 34, 132)
HSLhsl(287, 59%, 33%)
HSVhsv(287, 74%, 52%)
CMYKcmyk(16.7%, 74.2%, 0%, 48.2%)
CIE-LABlab(29.73, 47.79, -39.26)
CIE-LCHlch(29.73, 61.85, 320.59°)
OKLaboklab(41.53% 0.1205 -0.1103)
OKLCHoklch(41.53% 0.163 317.5)
XYZxyz(11.1667, 6.1255, 22.4195)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2284 #388422
analogous
#3D2284 #6E2284 #842269
triadic
#6E2284 #846E22 #22846E
tetradic
#6E2284 #843D22 #388422 #226984
square
#6E2284 #843D22 #388422 #226984
split-complementary
#6E2284 #698422 #22843D
monochromatic
#1D0923 #451553 #6E2284 #972FB5 #B44FD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E2284#FFFFFF#000000##FFFFFF
##6E22841.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2284;
/* rgb */ color: rgb(110, 34, 132);
/* oklch */ color: oklch(41.5% 0.163 317.5);
Tailwind
colors: {
  custom: {
    50: '#9b65a8',
    500: '#6e2284',
    950: '#000000',
  },
}
SCSS
$custom: #6e2284;
$custom-light: #9b65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2284",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 286.531,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41526,
    "c": 0.16339,
    "h": 317.5
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#6E2284
secondary
#64B54D
accent
#E24669
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E2284

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

Preview Lab → · Contrast checker → · Palette generator →

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