#6E2AA8#6E2AA8

#6E2AA8 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.190 H 304.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6E2AA8
RGBrgb(110, 42, 168)
HSLhsl(272, 60%, 41%)
HSVhsv(272, 75%, 66%)
CMYKcmyk(34.5%, 75%, 0%, 34.1%)
CIE-LABlab(33.56, 52.47, -55.10)
CIE-LCHlch(33.56, 76.09, 313.60°)
OKLaboklab(45.08% 0.1067 -0.1569)
OKLCHoklch(45.08% 0.19 304.2)
XYZxyz(14.3246, 7.7981, 37.7887)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AA8 #64A82A
analogous
#2F2AA8 #6E2AA8 #A82AA3
triadic
#6E2AA8 #A86E2A #2AA86E
tetradic
#6E2AA8 #A82F2A #64A82A #2AA3A8
square
#6E2AA8 #A82F2A #64A82A #2AA3A8
split-complementary
#6E2AA8 #A3A82A #2AA82F
monochromatic
#2E1246 #4E1E77 #6E2AA8 #8D40CF #AA71DB

Accessibility & contrast

On white

8.20
#6E2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6E2AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AA8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AA8#FFFFFF#000000##FFFFFF
##6E2AA81.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#634967
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2aa8;
/* rgb */ color: rgb(110, 42, 168);
/* oklch */ color: oklch(45.1% 0.190 304.2);
Tailwind
colors: {
  custom: {
    50: '#9d6bc3',
    500: '#6e2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aa8;
$custom-light: #9d6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aa8",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 272.381,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.18975,
    "h": 304.2
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#6E2AA8
secondary
#93C36B
accent
#E3458E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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