#6E2182#6E2182

#6E2182 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.163 H 318.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6E2182
RGBrgb(110, 33, 130)
HSLhsl(288, 60%, 32%)
HSVhsv(288, 75%, 51%)
CMYKcmyk(15.4%, 74.6%, 0%, 49%)
CIE-LABlab(29.45, 47.78, -38.45)
CIE-LCHlch(29.45, 61.33, 321.17°)
OKLaboklab(41.29% 0.1217 -0.108)
OKLCHoklch(41.29% 0.163 318.4)
XYZxyz(11.0030, 6.0149, 21.6962)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2182 #358221
analogous
#3E2182 #6E2182 #822166
triadic
#6E2182 #826E21 #21826E
tetradic
#6E2182 #823E21 #358221 #216682
square
#6E2182 #823E21 #358221 #216682
split-complementary
#6E2182 #668221 #21823E
monochromatic
#1B0820 #451551 #6E2182 #972DB3 #B64CD2

Accessibility & contrast

On white

9.53
#6E2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2182
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2182#FFFFFF#000000##FFFFFF
##6E21821.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#264880
Tritanopia (blue-blind)
#6E344F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e2182;
/* rgb */ color: rgb(110, 33, 130);
/* oklch */ color: oklch(41.3% 0.163 318.4);
Tailwind
colors: {
  custom: {
    50: '#9b64a7',
    500: '#6e2182',
    950: '#000000',
  },
}
SCSS
$custom: #6e2182;
$custom-light: #9b64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2182",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 287.629,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41285,
    "c": 0.16271,
    "h": 318.4
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#6E2182
secondary
#60B44A
accent
#E34566
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E2182

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

Preview Lab → · Contrast checker → · Palette generator →

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