#6E2AA2#6E2AA2

#6E2AA2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.184 H 306.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6E2AA2
RGBrgb(110, 42, 162)
HSLhsl(274, 59%, 40%)
HSVhsv(274, 74%, 64%)
CMYKcmyk(32.1%, 74.1%, 0%, 36.5%)
CIE-LABlab(33.09, 51.06, -52.25)
CIE-LCHlch(33.09, 73.05, 314.34°)
OKLaboklab(44.6% 0.1079 -0.1485)
OKLCHoklch(44.6% 0.184 306)
XYZxyz(13.7785, 7.5797, 34.9126)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AA2 #5EA22A
analogous
#322AA2 #6E2AA2 #A22A9A
triadic
#6E2AA2 #A26E2A #2AA26E
tetradic
#6E2AA2 #A2322A #5EA22A #2A9AA2
square
#6E2AA2 #A2322A #5EA22A #2A9AA2
split-complementary
#6E2AA2 #9AA22A #2AA232
monochromatic
#2C1141 #4D1D71 #6E2AA2 #8E3DCD #AA6DD9

Accessibility & contrast

On white

8.35
#6E2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6E2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AA2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AA2#FFFFFF#000000##FFFFFF
##6E2AA21.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#654764
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e2aa2;
/* rgb */ color: rgb(110, 42, 162);
/* oklch */ color: oklch(44.6% 0.184 306.0);
Tailwind
colors: {
  custom: {
    50: '#9c6abe',
    500: '#6e2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aa2;
$custom-light: #9c6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aa2",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 274,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.18357,
    "h": 306
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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