#6E2172#6E2172

#6E2172 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.148 H 325.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#6E2172
RGBrgb(110, 33, 114)
HSLhsl(297, 55%, 29%)
HSVhsv(297, 71%, 45%)
CMYKcmyk(3.5%, 71.1%, 0%, 55.3%)
CIE-LABlab(28.43, 44.63, -29.97)
CIE-LCHlch(28.43, 53.76, 326.12°)
OKLaboklab(40.23% 0.1224 -0.0832)
OKLCHoklch(40.23% 0.148 325.8)
XYZxyz(10.0113, 5.6183, 16.4735)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2172 #257221
analogous
#462172 #6E2172 #72214E
triadic
#6E2172 #726E21 #21726E
tetradic
#6E2172 #724621 #257221 #214E72
square
#6E2172 #724621 #257221 #214E72
split-complementary
#6E2172 #4E7221 #217246
monochromatic
#170718 #401343 #6E2172 #9C2FA1 #C244C9

Accessibility & contrast

On white

9.89
#6E2172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6E2172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2172
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2172#FFFFFF#000000##FFFFFF
##6E21721.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D74
Deuteranopia (green-blind)
#324670
Tritanopia (blue-blind)
#712D47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e2172;
/* rgb */ color: rgb(110, 33, 114);
/* oklch */ color: oklch(40.2% 0.148 325.8);
Tailwind
colors: {
  custom: {
    50: '#9a649b',
    500: '#6e2172',
    950: '#000000',
  },
}
SCSS
$custom: #6e2172;
$custom-light: #9a649b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2172",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 297.037,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40226,
    "c": 0.14803,
    "h": 325.8
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#6E2172
secondary
#4EA549
accent
#DE4951
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2172

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

Preview Lab → · Contrast checker → · Palette generator →

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