#6E2AA1#6E2AA1

#6E2AA1 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.183 H 306.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6E2AA1
RGBrgb(110, 42, 161)
HSLhsl(274, 59%, 40%)
HSVhsv(274, 74%, 63%)
CMYKcmyk(31.7%, 73.9%, 0%, 36.9%)
CIE-LABlab(33.02, 50.82, -51.77)
CIE-LCHlch(33.02, 72.55, 314.47°)
OKLaboklab(44.53% 0.1081 -0.1471)
OKLCHoklch(44.53% 0.183 306.3)
XYZxyz(13.6900, 7.5443, 34.4463)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AA1 #5DA12A
analogous
#332AA1 #6E2AA1 #A12A99
triadic
#6E2AA1 #A16E2A #2AA16E
tetradic
#6E2AA1 #A1332A #5DA12A #2A99A1
square
#6E2AA1 #A1332A #5DA12A #2A99A1
split-complementary
#6E2AA1 #99A12A #2AA133
monochromatic
#2C1140 #4D1D70 #6E2AA1 #8E3CCC #AA6DD9

Accessibility & contrast

On white

8.37
#6E2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6E2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AA1
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AA1#FFFFFF#000000##FFFFFF
##6E2AA11.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#654663
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e2aa1;
/* rgb */ color: rgb(110, 42, 161);
/* oklch */ color: oklch(44.5% 0.183 306.3);
Tailwind
colors: {
  custom: {
    50: '#9c6abe',
    500: '#6e2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aa1;
$custom-light: #9c6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aa1",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 274.286,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.18254,
    "h": 306.3
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#6E2AA1
secondary
#8DC067
accent
#E24689
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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