#6E2162#6E2162

#6E2162 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.3% C 0.134 H 334.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#6E2162
RGBrgb(110, 33, 98)
HSLhsl(309, 54%, 28%)
HSVhsv(309, 70%, 43%)
CMYKcmyk(0%, 70%, 10.9%, 56.9%)
CIE-LABlab(27.53, 41.76, -21.07)
CIE-LCHlch(27.53, 46.77, 333.22°)
OKLaboklab(39.29% 0.1214 -0.0575)
OKLCHoklch(39.29% 0.134 334.6)
XYZxyz(9.1789, 5.2853, 12.0896)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2162 #216E2D
analogous
#53216E #6E2162 #6E213B
triadic
#6E2162 #626E21 #21626E
tetradic
#6E2162 #6E5321 #216E2D #213B6E
square
#6E2162 #6E5321 #216E2D #213B6E
split-complementary
#6E2162 #3B6E21 #216E53
monochromatic
#180715 #3F1338 #6E2162 #9D2F8C #C743B2

Accessibility & contrast

On white

10.21
#6E2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6E2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2162
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2162#FFFFFF#000000##FFFFFF
##6E21621.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A64
Deuteranopia (green-blind)
#3A4560
Tritanopia (blue-blind)
#73273E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e2162;
/* rgb */ color: rgb(110, 33, 98);
/* oklch */ color: oklch(39.3% 0.134 334.6);
Tailwind
colors: {
  custom: {
    50: '#9a638f',
    500: '#6e2162',
    950: '#000000',
  },
}
SCSS
$custom: #6e2162;
$custom-light: #9a638f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2162",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 309.351,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.13428,
    "h": 334.6
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#6E2162
secondary
#49A257
accent
#DD614B
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #6E2162

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

Preview Lab → · Contrast checker → · Palette generator →

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