#6E2DAC#6E2DAC

#6E2DAC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.191 H 302.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6E2DAC
RGBrgb(110, 45, 172)
HSLhsl(271, 59%, 43%)
HSVhsv(271, 74%, 67%)
CMYKcmyk(36%, 73.8%, 0%, 32.5%)
CIE-LABlab(34.34, 52.11, -56.24)
CIE-LCHlch(34.34, 76.67, 312.82°)
OKLaboklab(45.73% 0.103 -0.1603)
OKLCHoklch(45.73% 0.191 302.7)
XYZxyz(14.8134, 8.1703, 39.8183)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DAC #6BAC2D
analogous
#2F2DAC #6E2DAC #AC2DAA
triadic
#6E2DAC #AC6E2D #2DAC6E
tetradic
#6E2DAC #AC2F2D #6BAC2D #2DAAAC
square
#6E2DAC #AC2F2D #6BAC2D #2DAAAC
split-complementary
#6E2DAC #AAAC2D #2DAC2F
monochromatic
#30144B #4F207B #6E2DAC #8D47CF #AB78DC

Accessibility & contrast

On white

7.97
#6E2DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6E2DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DAC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DAC#FFFFFF#000000##FFFFFF
##6E2DAC1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#614C6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2dac;
/* rgb */ color: rgb(110, 45, 172);
/* oklch */ color: oklch(45.7% 0.191 302.7);
Tailwind
colors: {
  custom: {
    50: '#9d6cc6',
    500: '#6e2dac',
    950: '#000000',
  },
}
SCSS
$custom: #6e2dac;
$custom-light: #9d6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2dac",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 270.709,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.19051,
    "h": 302.7
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#6E2DAC
secondary
#99C471
accent
#E24692
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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