#6E2DAE#6E2DAE

#6E2DAE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.193 H 302.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6E2DAE
RGBrgb(110, 45, 174)
HSLhsl(270, 59%, 43%)
HSVhsv(270, 74%, 68%)
CMYKcmyk(36.8%, 74.1%, 0%, 31.8%)
CIE-LABlab(34.49, 52.60, -57.17)
CIE-LCHlch(34.49, 77.69, 312.61°)
OKLaboklab(45.89% 0.1026 -0.163)
OKLCHoklch(45.89% 0.193 302.2)
XYZxyz(15.0069, 8.2477, 40.8375)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DAE #6DAE2D
analogous
#2E2DAE #6E2DAE #AE2DAD
triadic
#6E2DAE #AE6E2D #2DAE6E
tetradic
#6E2DAE #AE2E2D #6DAE2D #2DADAE
square
#6E2DAE #AE2E2D #6DAE2D #2DADAE
split-complementary
#6E2DAE #ADAE2D #2DAE2E
monochromatic
#31144D #4F207D #6E2DAE #8D48D0 #AB79DC

Accessibility & contrast

On white

7.93
#6E2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6E2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DAE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DAE#FFFFFF#000000##FFFFFF
##6E2DAE1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#604D6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2dae;
/* rgb */ color: rgb(110, 45, 174);
/* oklch */ color: oklch(45.9% 0.193 302.2);
Tailwind
colors: {
  custom: {
    50: '#9d6cc7',
    500: '#6e2dae',
    950: '#000000',
  },
}
SCSS
$custom: #6e2dae;
$custom-light: #9d6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2dae",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 270.233,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.19261,
    "h": 302.2
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#6E2DAE
secondary
#9BC472
accent
#E24693
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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