#6E2AA6#6E2AA6

#6E2AA6 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.188 H 304.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6E2AA6
RGBrgb(110, 42, 166)
HSLhsl(273, 60%, 41%)
HSVhsv(273, 75%, 65%)
CMYKcmyk(33.7%, 74.7%, 0%, 34.9%)
CIE-LABlab(33.40, 52.00, -54.16)
CIE-LCHlch(33.40, 75.08, 313.83°)
OKLaboklab(44.92% 0.1071 -0.1541)
OKLCHoklch(44.92% 0.188 304.8)
XYZxyz(14.1397, 7.7242, 36.8150)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AA6 #62A62A
analogous
#302AA6 #6E2AA6 #A62AA0
triadic
#6E2AA6 #A66E2A #2AA66E
tetradic
#6E2AA6 #A6302A #62A62A #2AA0A6
square
#6E2AA6 #A6302A #62A62A #2AA0A6
split-complementary
#6E2AA6 #A0A62A #2AA630
monochromatic
#2D1144 #4E1E75 #6E2AA6 #8E3FCE #AA70DB

Accessibility & contrast

On white

8.25
#6E2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6E2AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AA6
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AA6#FFFFFF#000000##FFFFFF
##6E2AA61.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#634866
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2aa6;
/* rgb */ color: rgb(110, 42, 166);
/* oklch */ color: oklch(44.9% 0.188 304.8);
Tailwind
colors: {
  custom: {
    50: '#9d6ac1',
    500: '#6e2aa6',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aa6;
$custom-light: #9d6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aa6",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 272.903,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.18769,
    "h": 304.8
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#6E2AA6
secondary
#92C26A
accent
#E3458C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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