#6E31AE#6E31AE

#6E31AE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.188 H 301.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6E31AE
RGBrgb(110, 49, 174)
HSLhsl(269, 56%, 44%)
HSVhsv(269, 72%, 68%)
CMYKcmyk(36.8%, 71.8%, 0%, 31.8%)
CIE-LABlab(35.14, 50.78, -56.13)
CIE-LCHlch(35.14, 75.69, 312.14°)
OKLaboklab(46.34% 0.0987 -0.16)
OKLCHoklch(46.34% 0.188 301.7)
XYZxyz(15.1669, 8.5675, 40.8908)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E31AE #71AE31
analogous
#3132AE #6E31AE #AC31AE
triadic
#6E31AE #AE6E31 #31AE6E
tetradic
#6E31AE #AE3132 #71AE31 #31AEAC
square
#6E31AE #AE3132 #71AE31 #31AEAC
split-complementary
#6E31AE #AEAC31 #32AE31
monochromatic
#32164E #50247E #6E31AE #8D4FCD #AC7FDB

Accessibility & contrast

On white

7.74
#6E31AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6E31AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E31AE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E31AE#FFFFFF#000000##FFFFFF
##6E31AE1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#604F6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e31ae;
/* rgb */ color: rgb(110, 49, 174);
/* oklch */ color: oklch(46.3% 0.188 301.7);
Tailwind
colors: {
  custom: {
    50: '#9d6ec7',
    500: '#6e31ae',
    950: '#000000',
  },
}
SCSS
$custom: #6e31ae;
$custom-light: #9d6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e31ae",
  "rgb": {
    "r": 110,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 269.28,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.18796,
    "h": 301.7
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#6E31AE
secondary
#9EC477
accent
#DF4896
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E31AE

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

Preview Lab → · Contrast checker → · Palette generator →

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