#6E1AA1#6E1AA1

#6E1AA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.1% C 0.199 H 307.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6E1AA1
RGBrgb(110, 26, 161)
HSLhsl(277, 72%, 37%)
HSVhsv(277, 84%, 63%)
CMYKcmyk(31.7%, 83.9%, 0%, 36.9%)
CIE-LABlab(30.94, 56.80, -55.14)
CIE-LCHlch(30.94, 79.16, 315.85°)
OKLaboklab(43.07% 0.1216 -0.1569)
OKLCHoklch(43.07% 0.199 307.8)
XYZxyz(13.2315, 6.6272, 34.2934)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1AA1 #4DA11A
analogous
#2A1AA1 #6E1AA1 #A11A91
triadic
#6E1AA1 #A16E1A #1AA16E
tetradic
#6E1AA1 #A12A1A #4DA11A #1A91A1
square
#6E1AA1 #A12A1A #4DA11A #1A91A1
split-complementary
#6E1AA1 #91A11A #1AA12A
monochromatic
#260938 #4A116C #6E1AA1 #9223D6 #AC52E3

Accessibility & contrast

On white

9.03
#6E1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6E1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1AA1
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1AA1#FFFFFF#000000##FFFFFF
##6E1AA11.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#653F60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e1aa1;
/* rgb */ color: rgb(110, 26, 161);
/* oklch */ color: oklch(43.1% 0.199 307.8);
Tailwind
colors: {
  custom: {
    50: '#9d63be',
    500: '#6e1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #6e1aa1;
$custom-light: #9d63be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1aa1",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 277.333,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43072,
    "c": 0.19851,
    "h": 307.8
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#6E1AA1
secondary
#7DC651
accent
#EF397E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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