#6E1774#6E1774

#6E1774 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.161 H 325.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#6E1774
RGBrgb(110, 23, 116)
HSLhsl(296, 67%, 27%)
HSVhsv(296, 80%, 45%)
CMYKcmyk(5.2%, 80.2%, 0%, 54.5%)
CIE-LABlab(27.27, 48.67, -33.10)
CIE-LCHlch(27.27, 58.85, 325.78°)
OKLaboklab(39.44% 0.1326 -0.0922)
OKLCHoklch(39.44% 0.161 325.2)
XYZxyz(9.8890, 5.1894, 17.0004)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1774 #1D7417
analogous
#401774 #6E1774 #74174C
triadic
#6E1774 #746E17 #17746E
tetradic
#6E1774 #744017 #1D7417 #174C74
square
#6E1774 #744017 #1D7417 #174C74
split-complementary
#6E1774 #4C7417 #177440
monochromatic
#18051A #3E0D41 #6E1774 #9E21A7 #CB30D6

Accessibility & contrast

On white

10.31
#6E1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6E1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1774
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1774#FFFFFF#000000##FFFFFF
##6E17741.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#2C4472
Tritanopia (blue-blind)
#712845
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e1774;
/* rgb */ color: rgb(110, 23, 116);
/* oklch */ color: oklch(39.4% 0.161 325.2);
Tailwind
colors: {
  custom: {
    50: '#9b609c',
    500: '#6e1774',
    950: '#000000',
  },
}
SCSS
$custom: #6e1774;
$custom-light: #9b609c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1774",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 296.129,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.16148,
    "h": 325.2
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#6E1774
secondary
#44A93D
accent
#EA3E49
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E1774

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

Preview Lab → · Contrast checker → · Palette generator →

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