#6E1D9A#6E1D9A

#6E1D9A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.189 H 309.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6E1D9A
RGBrgb(110, 29, 154)
HSLhsl(279, 68%, 36%)
HSVhsv(279, 81%, 60%)
CMYKcmyk(28.6%, 81.2%, 0%, 39.6%)
CIE-LABlab(30.71, 54.31, -51.27)
CIE-LCHlch(30.71, 74.69, 316.65°)
OKLaboklab(42.73% 0.1213 -0.1456)
OKLCHoklch(42.73% 0.189 309.8)
XYZxyz(12.7013, 6.5271, 31.1563)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D9A #499A1D
analogous
#2F1D9A #6E1D9A #9A1D87
triadic
#6E1D9A #9A6E1D #1D9A6E
tetradic
#6E1D9A #9A2F1D #499A1D #1D879A
square
#6E1D9A #9A2F1D #499A1D #1D879A
split-complementary
#6E1D9A #879A1D #1D9A2F
monochromatic
#240A33 #491366 #6E1D9A #9327CE #AD53DF

Accessibility & contrast

On white

9.11
#6E1D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6E1D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D9A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D9A#FFFFFF#000000##FFFFFF
##6E1D9A1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#683D5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1d9a;
/* rgb */ color: rgb(110, 29, 154);
/* oklch */ color: oklch(42.7% 0.189 309.8);
Tailwind
colors: {
  custom: {
    50: '#9c64b9',
    500: '#6e1d9a',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d9a;
$custom-light: #9c64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d9a",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 278.88,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42729,
    "c": 0.18944,
    "h": 309.8
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#6E1D9A
secondary
#79C251
accent
#EB3D7A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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