#6E2173#6E2173

#6E2173 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.149 H 325.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6E2173
RGBrgb(110, 33, 115)
HSLhsl(296, 55%, 29%)
HSVhsv(296, 71%, 45%)
CMYKcmyk(4.3%, 71.3%, 0%, 54.9%)
CIE-LABlab(28.49, 44.82, -30.51)
CIE-LCHlch(28.49, 54.22, 325.75°)
OKLaboklab(40.29% 0.1224 -0.0848)
OKLCHoklch(40.29% 0.149 325.3)
XYZxyz(10.0685, 5.6411, 16.7749)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2173 #267321
analogous
#452173 #6E2173 #73214F
triadic
#6E2173 #736E21 #21736E
tetradic
#6E2173 #734521 #267321 #214F73
square
#6E2173 #734521 #267321 #214F73
split-complementary
#6E2173 #4F7321 #217345
monochromatic
#170718 #411343 #6E2173 #9B2FA3 #C145CA

Accessibility & contrast

On white

9.87
#6E2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6E2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2173
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2173#FFFFFF#000000##FFFFFF
##6E21731.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D75
Deuteranopia (green-blind)
#314671
Tritanopia (blue-blind)
#712E47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e2173;
/* rgb */ color: rgb(110, 33, 115);
/* oklch */ color: oklch(40.3% 0.149 325.3);
Tailwind
colors: {
  custom: {
    50: '#9a649c',
    500: '#6e2173',
    950: '#000000',
  },
}
SCSS
$custom: #6e2173;
$custom-light: #9a649c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2173",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 296.341,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.14892,
    "h": 325.3
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#6E2173
secondary
#4FA649
accent
#DF4952
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2173

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

Preview Lab → · Contrast checker → · Palette generator →

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