#6E1161#6E1161

#6E1161 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.152 H 334.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#6E1161
RGBrgb(110, 17, 97)
HSLhsl(308, 73%, 25%)
HSVhsv(308, 85%, 43%)
CMYKcmyk(0%, 84.5%, 11.8%, 56.9%)
CIE-LABlab(25.50, 47.21, -23.60)
CIE-LCHlch(25.50, 52.78, 333.44°)
OKLaboklab(37.81% 0.1378 -0.0646)
OKLCHoklch(37.81% 0.152 334.9)
XYZxyz(8.7886, 4.5798, 11.7281)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1161 #116E1E
analogous
#4C116E #6E1161 #6E1133
triadic
#6E1161 #616E11 #11616E
tetradic
#6E1161 #6E4C11 #116E1E #11336E
square
#6E1161 #6E4C11 #116E1E #11336E
split-complementary
#6E1161 #336E11 #116E4C
monochromatic
#1B0417 #390932 #6E1161 #A31990 #D821BE

Accessibility & contrast

On white

10.96
#6E1161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#6E1161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1161
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1161#FFFFFF#000000##FFFFFF
##6E11611.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103463
Deuteranopia (green-blind)
#34415F
Tritanopia (blue-blind)
#741A39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6e1161;
/* rgb */ color: rgb(110, 17, 97);
/* oklch */ color: oklch(37.8% 0.152 334.9);
Tailwind
colors: {
  custom: {
    50: '#9b5d8e',
    500: '#6e1161',
    950: '#000000',
  },
}
SCSS
$custom: #6e1161;
$custom-light: #9b5d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1161",
  "rgb": {
    "r": 110,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 308.387,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37808,
    "c": 0.15224,
    "h": 334.9
  },
  "luminance": 0.04579
}

Semantic roles & 50–950 ramp

primary
#6E1161
secondary
#35A545
accent
#F05238
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #6E1161

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

Preview Lab → · Contrast checker → · Palette generator →

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