#6E1A7C#6E1A7C

#6E1A7C is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.165 H 321.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6E1A7C
RGBrgb(110, 26, 124)
HSLhsl(291, 65%, 29%)
HSVhsv(291, 79%, 49%)
CMYKcmyk(11.3%, 79%, 0%, 51.4%)
CIE-LABlab(28.14, 49.18, -36.78)
CIE-LCHlch(28.14, 61.41, 323.21°)
OKLaboklab(40.23% 0.1292 -0.103)
OKLCHoklch(40.23% 0.165 321.4)
XYZxyz(10.4375, 5.5096, 19.5786)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A7C #287C1A
analogous
#3D1A7C #6E1A7C #7C1A59
triadic
#6E1A7C #7C6E1A #1A7C6E
tetradic
#6E1A7C #7C3D1A #287C1A #1A597C
square
#6E1A7C #7C3D1A #287C1A #1A597C
split-complementary
#6E1A7C #597C1A #1A7C3D
monochromatic
#160519 #410F49 #6E1A7C #9B25AF #C03BD6

Accessibility & contrast

On white

9.99
#6E1A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6E1A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A7C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A7C#FFFFFF#000000##FFFFFF
##6E1A7C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#27457A
Tritanopia (blue-blind)
#6F2E4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1a7c;
/* rgb */ color: rgb(110, 26, 124);
/* oklch */ color: oklch(40.2% 0.165 321.4);
Tailwind
colors: {
  custom: {
    50: '#9b61a2',
    500: '#6e1a7c',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a7c;
$custom-light: #9b61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a7c",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 291.429,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.16522,
    "h": 321.4
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#6E1A7C
secondary
#51B042
accent
#E84058
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6E1A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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