#6E1172#6E1172

#6E1172 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.165 H 326.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#6E1172
RGBrgb(110, 17, 114)
HSLhsl(298, 74%, 26%)
HSVhsv(298, 85%, 45%)
CMYKcmyk(3.5%, 85.1%, 0%, 55.3%)
CIE-LABlab(26.54, 50.04, -32.98)
CIE-LCHlch(26.54, 59.93, 326.61°)
OKLaboklab(38.88% 0.1375 -0.0918)
OKLCHoklch(38.88% 0.165 326.3)
XYZxyz(9.6679, 4.9315, 16.3590)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1172 #157211
analogous
#3D1172 #6E1172 #721145
triadic
#6E1172 #726E11 #11726E
tetradic
#6E1172 #723D11 #157211 #114572
square
#6E1172 #723D11 #157211 #114572
split-complementary
#6E1172 #457211 #11723D
monochromatic
#1A041B #3B093D #6E1172 #A119A7 #D521DD

Accessibility & contrast

On white

10.57
#6E1172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1172
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1172#FFFFFF#000000##FFFFFF
##6E11721.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#2B4370
Tritanopia (blue-blind)
#712443
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1172;
/* rgb */ color: rgb(110, 17, 114);
/* oklch */ color: oklch(38.9% 0.165 326.3);
Tailwind
colors: {
  custom: {
    50: '#9b5d9b',
    500: '#6e1172',
    950: '#000000',
  },
}
SCSS
$custom: #6e1172;
$custom-light: #9b5d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1172",
  "rgb": {
    "r": 110,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 297.526,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.16538,
    "h": 326.3
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#6E1172
secondary
#3AA936
accent
#F1373F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6E1172

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

Preview Lab → · Contrast checker → · Palette generator →

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