#6E2282#6E2282

#6E2282 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.161 H 318.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#6E2282
RGBrgb(110, 34, 130)
HSLhsl(288, 59%, 32%)
HSVhsv(288, 74%, 51%)
CMYKcmyk(15.4%, 73.8%, 0%, 49%)
CIE-LABlab(29.59, 47.38, -38.23)
CIE-LCHlch(29.59, 60.88, 321.10°)
OKLaboklab(41.39% 0.1207 -0.1073)
OKLCHoklch(41.39% 0.161 318.4)
XYZxyz(11.0311, 6.0713, 21.7056)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2282 #368222
analogous
#3E2282 #6E2282 #822266
triadic
#6E2282 #826E22 #22826E
tetradic
#6E2282 #823E22 #368222 #226682
square
#6E2282 #823E22 #368222 #226682
split-complementary
#6E2282 #668222 #22823E
monochromatic
#1C0921 #451551 #6E2282 #972FB3 #B54ED1

Accessibility & contrast

On white

9.48
#6E2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6E2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2282
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2282#FFFFFF#000000##FFFFFF
##6E22821.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#274880
Tritanopia (blue-blind)
#6E3550
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2282;
/* rgb */ color: rgb(110, 34, 130);
/* oklch */ color: oklch(41.4% 0.161 318.4);
Tailwind
colors: {
  custom: {
    50: '#9b65a7',
    500: '#6e2282',
    950: '#000000',
  },
}
SCSS
$custom: #6e2282;
$custom-light: #9b65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2282",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 287.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.16149,
    "h": 318.4
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#6E2282
secondary
#62B44C
accent
#E24666
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E2282

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

Preview Lab → · Contrast checker → · Palette generator →

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