#6E1174#6E1174

#6E1174 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.167 H 325.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#6E1174
RGBrgb(110, 17, 116)
HSLhsl(296, 74%, 26%)
HSVhsv(296, 85%, 45%)
CMYKcmyk(5.2%, 85.3%, 0%, 54.5%)
CIE-LABlab(26.67, 50.40, -34.05)
CIE-LCHlch(26.67, 60.82, 325.96°)
OKLaboklab(39.01% 0.1373 -0.095)
OKLCHoklch(39.01% 0.167 325.3)
XYZxyz(9.7830, 4.9775, 16.9651)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1174 #177411
analogous
#3C1174 #6E1174 #741148
triadic
#6E1174 #746E11 #11746E
tetradic
#6E1174 #743C11 #177411 #114874
square
#6E1174 #743C11 #177411 #114874
split-complementary
#6E1174 #487411 #11743C
monochromatic
#19041B #3B093F #6E1174 #A119A9 #D321DE

Accessibility & contrast

On white

10.52
#6E1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6E1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1174
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1174#FFFFFF#000000##FFFFFF
##6E11741.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#712544
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1174;
/* rgb */ color: rgb(110, 17, 116);
/* oklch */ color: oklch(39.0% 0.167 325.3);
Tailwind
colors: {
  custom: {
    50: '#9b5e9c',
    500: '#6e1174',
    950: '#000000',
  },
}
SCSS
$custom: #6e1174;
$custom-light: #9b5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1174",
  "rgb": {
    "r": 110,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 296.364,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39014,
    "c": 0.16698,
    "h": 325.3
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#6E1174
secondary
#3DAB36
accent
#F13742
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6E1174

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

Preview Lab → · Contrast checker → · Palette generator →

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