#6E2AA5#6E2AA5

#6E2AA5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.187 H 305.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#6E2AA5
RGBrgb(110, 42, 165)
HSLhsl(273, 59%, 41%)
HSVhsv(273, 75%, 65%)
CMYKcmyk(33.3%, 74.5%, 0%, 35.3%)
CIE-LABlab(33.32, 51.76, -53.68)
CIE-LCHlch(33.32, 74.57, 313.96°)
OKLaboklab(44.84% 0.1073 -0.1527)
OKLCHoklch(44.84% 0.187 305.1)
XYZxyz(14.0484, 7.6876, 36.3338)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AA5 #61A52A
analogous
#312AA5 #6E2AA5 #A52A9E
triadic
#6E2AA5 #A56E2A #2AA56E
tetradic
#6E2AA5 #A5312A #61A52A #2A9EA5
square
#6E2AA5 #A5312A #61A52A #2A9EA5
split-complementary
#6E2AA5 #9EA52A #2AA531
monochromatic
#2D1143 #4D1E74 #6E2AA5 #8E3ECE #AA6FDA

Accessibility & contrast

On white

8.28
#6E2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2AA5
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AA5#FFFFFF#000000##FFFFFF
##6E2AA51.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#644865
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e2aa5;
/* rgb */ color: rgb(110, 42, 165);
/* oklch */ color: oklch(44.8% 0.187 305.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ac1',
    500: '#6e2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aa5;
$custom-light: #9d6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aa5",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 273.171,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4484,
    "c": 0.18666,
    "h": 305.1
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#6E2AA5
secondary
#91C169
accent
#E3458C
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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