#6E1173#6E1173

#6E1173 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.166 H 325.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#6E1173
RGBrgb(110, 17, 115)
HSLhsl(297, 74%, 26%)
HSVhsv(297, 85%, 45%)
CMYKcmyk(4.3%, 85.2%, 0%, 54.9%)
CIE-LABlab(26.60, 50.22, -33.52)
CIE-LCHlch(26.60, 60.38, 326.28°)
OKLaboklab(38.95% 0.1374 -0.0934)
OKLCHoklch(38.95% 0.166 325.8)
XYZxyz(9.7252, 4.9544, 16.6604)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1173 #167311
analogous
#3D1173 #6E1173 #731147
triadic
#6E1173 #736E11 #11736E
tetradic
#6E1173 #733D11 #167311 #114773
square
#6E1173 #733D11 #167311 #114773
split-complementary
#6E1173 #477311 #11733D
monochromatic
#1A041B #3B093E #6E1173 #A119A8 #D421DE

Accessibility & contrast

On white

10.55
#6E1173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6E1173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1173
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1173#FFFFFF#000000##FFFFFF
##6E11731.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#712543
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1173;
/* rgb */ color: rgb(110, 17, 115);
/* oklch */ color: oklch(38.9% 0.166 325.8);
Tailwind
colors: {
  custom: {
    50: '#9b5e9c',
    500: '#6e1173',
    950: '#000000',
  },
}
SCSS
$custom: #6e1173;
$custom-light: #9b5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1173",
  "rgb": {
    "r": 110,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 296.939,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.16618,
    "h": 325.8
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#6E1173
secondary
#3CAA36
accent
#F13740
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6E1173

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

Preview Lab → · Contrast checker → · Palette generator →

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