#6E2AA3#6E2AA3

#6E2AA3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.185 H 305.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6E2AA3
RGBrgb(110, 42, 163)
HSLhsl(274, 59%, 40%)
HSVhsv(274, 74%, 64%)
CMYKcmyk(32.5%, 74.2%, 0%, 36.1%)
CIE-LABlab(33.17, 51.29, -52.73)
CIE-LCHlch(33.17, 73.56, 314.21°)
OKLaboklab(44.68% 0.1077 -0.1499)
OKLCHoklch(44.68% 0.185 305.7)
XYZxyz(13.8678, 7.6154, 35.3826)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AA3 #5FA32A
analogous
#322AA3 #6E2AA3 #A32A9B
triadic
#6E2AA3 #A36E2A #2AA36E
tetradic
#6E2AA3 #A3322A #5FA32A #2A9BA3
square
#6E2AA3 #A3322A #5FA32A #2A9BA3
split-complementary
#6E2AA3 #9BA32A #2AA332
monochromatic
#2C1142 #4D1D72 #6E2AA3 #8E3DCD #AA6EDA

Accessibility & contrast

On white

8.32
#6E2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2AA3
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AA3#FFFFFF#000000##FFFFFF
##6E2AA31.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#644764
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e2aa3;
/* rgb */ color: rgb(110, 42, 163);
/* oklch */ color: oklch(44.7% 0.185 305.7);
Tailwind
colors: {
  custom: {
    50: '#9c6abf',
    500: '#6e2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aa3;
$custom-light: #9c6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aa3",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 273.719,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44682,
    "c": 0.1846,
    "h": 305.7
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#6E2AA3
secondary
#8FC068
accent
#E2468A
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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