#6E34AB#6E34AB

#6E34AB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.181 H 302.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#6E34AB
RGBrgb(110, 52, 171)
HSLhsl(269, 53%, 44%)
HSVhsv(269, 70%, 67%)
CMYKcmyk(35.7%, 69.6%, 0%, 32.9%)
CIE-LABlab(35.42, 48.60, -53.87)
CIE-LCHlch(35.42, 72.55, 312.05°)
OKLaboklab(46.48% 0.0961 -0.1534)
OKLCHoklch(46.48% 0.181 302.1)
XYZxyz(15.0073, 8.7112, 39.4110)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34AB #71AB34
analogous
#3435AB #6E34AB #A934AB
triadic
#6E34AB #AB6E34 #34AB6E
tetradic
#6E34AB #AB3435 #71AB34 #34ABA9
square
#6E34AB #AB3435 #71AB34 #34ABA9
split-complementary
#6E34AB #ABA934 #35AB34
monochromatic
#32174D #50267C #6E34AB #8D52CA #AC81D9

Accessibility & contrast

On white

7.66
#6E34AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6E34AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34AB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34AB#FFFFFF#000000##FFFFFF
##6E34AB1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#61506B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e34ab;
/* rgb */ color: rgb(110, 52, 171);
/* oklch */ color: oklch(46.5% 0.181 302.1);
Tailwind
colors: {
  custom: {
    50: '#9d70c5',
    500: '#6e34ab',
    950: '#000000',
  },
}
SCSS
$custom: #6e34ab;
$custom-light: #9d70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34ab",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 269.244,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.18097,
    "h": 302.1
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#6E34AB
secondary
#9EC279
accent
#DD4B96
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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