#6E1162#6E1162

#6E1162 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.153 H 334.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#6E1162
RGBrgb(110, 17, 98)
HSLhsl(308, 73%, 25%)
HSVhsv(308, 85%, 43%)
CMYKcmyk(0%, 84.5%, 10.9%, 56.9%)
CIE-LABlab(25.56, 47.37, -24.17)
CIE-LCHlch(25.56, 53.18, 332.97°)
OKLaboklab(37.87% 0.1379 -0.0663)
OKLCHoklch(37.87% 0.153 334.3)
XYZxyz(8.8356, 4.5985, 11.9752)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1162 #116E1D
analogous
#4C116E #6E1162 #6E1134
triadic
#6E1162 #626E11 #11626E
tetradic
#6E1162 #6E4C11 #116E1D #11346E
square
#6E1162 #6E4C11 #116E1D #11346E
split-complementary
#6E1162 #346E11 #116E4C
monochromatic
#1B0418 #390933 #6E1162 #A31991 #D821C0

Accessibility & contrast

On white

10.94
#6E1162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1162
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1162#FFFFFF#000000##FFFFFF
##6E11621.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3464
Deuteranopia (green-blind)
#344160
Tritanopia (blue-blind)
#741B3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6e1162;
/* rgb */ color: rgb(110, 17, 98);
/* oklch */ color: oklch(37.9% 0.153 334.3);
Tailwind
colors: {
  custom: {
    50: '#9b5d8f',
    500: '#6e1162',
    950: '#000000',
  },
}
SCSS
$custom: #6e1162;
$custom-light: #9b5d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1162",
  "rgb": {
    "r": 110,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 307.742,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37866,
    "c": 0.15299,
    "h": 334.3
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#6E1162
secondary
#35A544
accent
#F05038
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #6E1162

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

Preview Lab → · Contrast checker → · Palette generator →

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