#6E39AA#6E39AA

#6E39AA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.173 H 301.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6E39AA
RGBrgb(110, 57, 170)
HSLhsl(268, 50%, 45%)
HSVhsv(268, 66%, 67%)
CMYKcmyk(35.3%, 66.5%, 0%, 33.3%)
CIE-LABlab(36.26, 45.83, -51.92)
CIE-LCHlch(36.26, 69.25, 311.43°)
OKLaboklab(47.05% 0.0907 -0.1476)
OKLCHoklch(47.05% 0.173 301.6)
XYZxyz(15.1475, 9.1435, 38.9893)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39AA #75AA39
analogous
#393CAA #6E39AA #A739AA
triadic
#6E39AA #AA6E39 #39AA6E
tetradic
#6E39AA #AA393C #75AA39 #39AAA7
square
#6E39AA #AA393C #75AA39 #39AAA7
split-complementary
#6E39AA #AAA739 #3CAA39
monochromatic
#331A4E #502A7C #6E39AA #8D59C7 #AC87D7

Accessibility & contrast

On white

7.42
#6E39AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6E39AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E39AA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39AA#FFFFFF#000000##FFFFFF
##6E39AA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0355A8
Tritanopia (blue-blind)
#61526C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e39aa;
/* rgb */ color: rgb(110, 57, 170);
/* oklch */ color: oklch(47.1% 0.173 301.6);
Tailwind
colors: {
  custom: {
    50: '#9c73c4',
    500: '#6e39aa',
    950: '#000000',
  },
}
SCSS
$custom: #6e39aa;
$custom-light: #9c73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39aa",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 268.142,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.17328,
    "h": 301.6
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#6E39AA
secondary
#A1C17E
accent
#D94E98
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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