#6E34AA#6E34AA

#6E34AA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.180 H 302.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6E34AA
RGBrgb(110, 52, 170)
HSLhsl(269, 53%, 44%)
HSVhsv(269, 69%, 67%)
CMYKcmyk(35.3%, 69.4%, 0%, 33.3%)
CIE-LABlab(35.35, 48.35, -53.40)
CIE-LCHlch(35.35, 72.03, 312.16°)
OKLaboklab(46.4% 0.0962 -0.152)
OKLCHoklch(46.4% 0.18 302.3)
XYZxyz(14.9124, 8.6732, 38.9109)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34AA #70AA34
analogous
#3435AA #6E34AA #A934AA
triadic
#6E34AA #AA6E34 #34AA6E
tetradic
#6E34AA #AA3435 #70AA34 #34AAA9
square
#6E34AA #AA3435 #70AA34 #34AAA9
split-complementary
#6E34AA #AAA934 #35AA34
monochromatic
#31174C #50267B #6E34AA #8D51CA #AB80D8

Accessibility & contrast

On white

7.68
#6E34AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6E34AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34AA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34AA#FFFFFF#000000##FFFFFF
##6E34AA1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#624F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e34aa;
/* rgb */ color: rgb(110, 52, 170);
/* oklch */ color: oklch(46.4% 0.180 302.3);
Tailwind
colors: {
  custom: {
    50: '#9c70c4',
    500: '#6e34aa',
    950: '#000000',
  },
}
SCSS
$custom: #6e34aa;
$custom-light: #9c70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34aa",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 269.492,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.17987,
    "h": 302.3
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#6E34AA
secondary
#9EC178
accent
#DD4B95
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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