#6E1166#6E1166

#6E1166 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.156 H 332.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#6E1166
RGBrgb(110, 17, 102)
HSLhsl(305, 73%, 25%)
HSVhsv(305, 85%, 43%)
CMYKcmyk(0%, 84.5%, 7.3%, 56.9%)
CIE-LABlab(25.79, 48.01, -26.42)
CIE-LCHlch(25.79, 54.80, 331.18°)
OKLaboklab(38.11% 0.138 -0.0728)
OKLCHoklch(38.11% 0.156 332.2)
XYZxyz(9.0292, 4.6760, 12.9948)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1166 #116E19
analogous
#47116E #6E1166 #6E1138
triadic
#6E1166 #666E11 #11666E
tetradic
#6E1166 #6E4711 #116E19 #11386E
square
#6E1166 #6E4711 #116E19 #11386E
split-complementary
#6E1166 #386E11 #116E47
monochromatic
#1B0419 #390935 #6E1166 #A31997 #D821C8

Accessibility & contrast

On white

10.85
#6E1166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6E1166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1166
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1166#FFFFFF#000000##FFFFFF
##6E11661.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083568
Deuteranopia (green-blind)
#324264
Tritanopia (blue-blind)
#731D3C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6e1166;
/* rgb */ color: rgb(110, 17, 102);
/* oklch */ color: oklch(38.1% 0.156 332.2);
Tailwind
colors: {
  custom: {
    50: '#9b5d92',
    500: '#6e1166',
    950: '#000000',
  },
}
SCSS
$custom: #6e1166;
$custom-light: #9b5d92;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1166",
  "rgb": {
    "r": 110,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 305.161,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.38107,
    "c": 0.156,
    "h": 332.2
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#6E1166
secondary
#35A53F
accent
#F04838
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6E1166

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

Preview Lab → · Contrast checker → · Palette generator →

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