#6E1A78#6E1A78

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

Color values

HEX#6E1A78
RGBrgb(110, 26, 120)
HSLhsl(294, 64%, 29%)
HSVhsv(294, 78%, 47%)
CMYKcmyk(8.3%, 78.3%, 0%, 52.9%)
CIE-LABlab(27.87, 48.41, -34.67)
CIE-LCHlch(27.87, 59.55, 324.39°)
OKLaboklab(39.95% 0.1295 -0.0968)
OKLCHoklch(39.95% 0.162 323.2)
XYZxyz(10.1896, 5.4105, 18.2733)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A78 #24781A
analogous
#3F1A78 #6E1A78 #781A53
triadic
#6E1A78 #786E1A #1A786E
tetradic
#6E1A78 #783F1A #24781A #1A5378
square
#6E1A78 #783F1A #24781A #1A5378
split-complementary
#6E1A78 #53781A #1A783F
monochromatic
#170519 #400F46 #6E1A78 #9C25AA #C338D4

Accessibility & contrast

On white

10.09
#6E1A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6E1A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A78
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A78#FFFFFF#000000##FFFFFF
##6E1A781.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#2A4576
Tritanopia (blue-blind)
#702C48
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1a78;
/* rgb */ color: rgb(110, 26, 120);
/* oklch */ color: oklch(40.0% 0.162 323.2);
Tailwind
colors: {
  custom: {
    50: '#9b619f',
    500: '#6e1a78',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a78;
$custom-light: #9b619f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a78",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 293.617,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39951,
    "c": 0.16174,
    "h": 323.2
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#6E1A78
secondary
#4DAC41
accent
#E74052
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1A78

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

Preview Lab → · Contrast checker → · Palette generator →

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