#6E1A7D#6E1A7D

#6E1A7D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.166 H 321.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#6E1A7D
RGBrgb(110, 26, 125)
HSLhsl(291, 66%, 30%)
HSVhsv(291, 79%, 49%)
CMYKcmyk(12%, 79.2%, 0%, 51%)
CIE-LABlab(28.21, 49.37, -37.30)
CIE-LCHlch(28.21, 61.88, 322.92°)
OKLaboklab(40.29% 0.1291 -0.1045)
OKLCHoklch(40.29% 0.166 321)
XYZxyz(10.5010, 5.5350, 19.9133)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A7D #297D1A
analogous
#3D1A7D #6E1A7D #7D1A5B
triadic
#6E1A7D #7D6E1A #1A7D6E
tetradic
#6E1A7D #7D3D1A #297D1A #1A5B7D
square
#6E1A7D #7D3D1A #297D1A #1A5B7D
split-complementary
#6E1A7D #5B7D1A #1A7D3D
monochromatic
#160519 #410F4A #6E1A7D #9B25B0 #BF3BD6

Accessibility & contrast

On white

9.97
#6E1A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E1A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A7D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A7D#FFFFFF#000000##FFFFFF
##6E1A7D1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#26457B
Tritanopia (blue-blind)
#6F2E4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1a7d;
/* rgb */ color: rgb(110, 26, 125);
/* oklch */ color: oklch(40.3% 0.166 321.0);
Tailwind
colors: {
  custom: {
    50: '#9b61a3',
    500: '#6e1a7d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a7d;
$custom-light: #9b61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a7d",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 290.909,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40295,
    "c": 0.1661,
    "h": 321
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#6E1A7D
secondary
#53B142
accent
#E93F59
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E1A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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