#6E1A7A#6E1A7A

#6E1A7A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.163 H 322.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6E1A7A
RGBrgb(110, 26, 122)
HSLhsl(293, 65%, 29%)
HSVhsv(293, 79%, 48%)
CMYKcmyk(9.8%, 78.7%, 0%, 52.2%)
CIE-LABlab(28.01, 48.80, -35.73)
CIE-LCHlch(28.01, 60.48, 323.79°)
OKLaboklab(40.09% 0.1294 -0.0999)
OKLCHoklch(40.09% 0.163 322.3)
XYZxyz(10.3123, 5.4595, 18.9192)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A7A #267A1A
analogous
#3E1A7A #6E1A7A #7A1A56
triadic
#6E1A7A #7A6E1A #1A7A6E
tetradic
#6E1A7A #7A3E1A #267A1A #1A567A
square
#6E1A7A #7A3E1A #267A1A #1A567A
split-complementary
#6E1A7A #567A1A #1A7A3E
monochromatic
#170519 #410F48 #6E1A7A #9B25AC #C139D5

Accessibility & contrast

On white

10.04
#6E1A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1A7A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A7A#FFFFFF#000000##FFFFFF
##6E1A7A1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#294578
Tritanopia (blue-blind)
#6F2D49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1a7a;
/* rgb */ color: rgb(110, 26, 122);
/* oklch */ color: oklch(40.1% 0.163 322.3);
Tailwind
colors: {
  custom: {
    50: '#9b61a1',
    500: '#6e1a7a',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a7a;
$custom-light: #9b61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a7a",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 292.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40087,
    "c": 0.16348,
    "h": 322.3
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#6E1A7A
secondary
#4FAE41
accent
#E84055
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6E1A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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