#6E1A74#6E1A74

#6E1A74 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.158 H 325.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#6E1A74
RGBrgb(110, 26, 116)
HSLhsl(296, 63%, 28%)
HSVhsv(296, 78%, 45%)
CMYKcmyk(5.2%, 77.6%, 0%, 54.5%)
CIE-LABlab(27.62, 47.67, -32.54)
CIE-LCHlch(27.62, 57.72, 325.68°)
OKLaboklab(39.68% 0.1298 -0.0906)
OKLCHoklch(39.68% 0.158 325.1)
XYZxyz(9.9520, 5.3154, 17.0214)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A74 #20741A
analogous
#411A74 #6E1A74 #741A4D
triadic
#6E1A74 #746E1A #1A746E
tetradic
#6E1A74 #74411A #20741A #1A4D74
square
#6E1A74 #74411A #20741A #1A4D74
split-complementary
#6E1A74 #4D741A #1A7441
monochromatic
#180619 #3F0F42 #6E1A74 #9D25A6 #C836D2

Accessibility & contrast

On white

10.18
#6E1A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6E1A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A74
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A74#FFFFFF#000000##FFFFFF
##6E1A741.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#2D4572
Tritanopia (blue-blind)
#712A46
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1a74;
/* rgb */ color: rgb(110, 26, 116);
/* oklch */ color: oklch(39.7% 0.158 325.1);
Tailwind
colors: {
  custom: {
    50: '#9b619c',
    500: '#6e1a74',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a74;
$custom-light: #9b619c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a74",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 296,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39684,
    "c": 0.1583,
    "h": 325.1
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#6E1A74
secondary
#48A941
accent
#E6414C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1A74

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

Preview Lab → · Contrast checker → · Palette generator →

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