#6E1A79#6E1A79

#6E1A79 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.163 H 322.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#6E1A79
RGBrgb(110, 26, 121)
HSLhsl(293, 65%, 29%)
HSVhsv(293, 79%, 47%)
CMYKcmyk(9.1%, 78.5%, 0%, 52.5%)
CIE-LABlab(27.94, 48.60, -35.20)
CIE-LCHlch(27.94, 60.01, 324.08°)
OKLaboklab(40.02% 0.1295 -0.0984)
OKLCHoklch(40.02% 0.163 322.8)
XYZxyz(10.2507, 5.4349, 18.5946)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A79 #25791A
analogous
#3F1A79 #6E1A79 #791A55
triadic
#6E1A79 #796E1A #1A796E
tetradic
#6E1A79 #793F1A #25791A #1A5579
square
#6E1A79 #793F1A #25791A #1A5579
split-complementary
#6E1A79 #55791A #1A793F
monochromatic
#170519 #400F47 #6E1A79 #9C25AB #C239D4

Accessibility & contrast

On white

10.06
#6E1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6E1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A79
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A79#FFFFFF#000000##FFFFFF
##6E1A791.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#294577
Tritanopia (blue-blind)
#702C49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1a79;
/* rgb */ color: rgb(110, 26, 121);
/* oklch */ color: oklch(40.0% 0.163 322.8);
Tailwind
colors: {
  custom: {
    50: '#9b61a0',
    500: '#6e1a79',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a79;
$custom-light: #9b61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a79",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 293.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.16261,
    "h": 322.8
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#6E1A79
secondary
#4EAD41
accent
#E84054
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6E1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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