#5E2AAF#5E2AAF

#5E2AAF is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.195 H 294.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#5E2AAF
RGBrgb(94, 42, 175)
HSLhsl(263, 61%, 43%)
HSVhsv(263, 76%, 69%)
CMYKcmyk(46.3%, 76%, 0%, 31.4%)
CIE-LABlab(32.10, 51.46, -61.76)
CIE-LCHlch(32.10, 80.39, 309.80°)
OKLaboklab(43.79% 0.0815 -0.177)
OKLCHoklch(43.79% 0.195 294.7)
XYZxyz(13.1798, 7.1304, 41.2310)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2AAF #7BAF2A
analogous
#2A38AF #5E2AAF #A12AAF
triadic
#5E2AAF #AF5E2A #2AAF5E
tetradic
#5E2AAF #AF2A38 #7BAF2A #2AAFA1
square
#5E2AAF #AF2A38 #7BAF2A #2AAFA1
split-complementary
#5E2AAF #AFA12A #38AF2A
monochromatic
#29124C #431E7E #5E2AAF #7C44D2 #9E75DE

Accessibility & contrast

On white

8.66
#5E2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5E2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2AAF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2AAF#FFFFFF#000000##FFFFFF
##5E2AAF1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#464E6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e2aaf;
/* rgb */ color: rgb(94, 42, 175);
/* oklch */ color: oklch(43.8% 0.195 294.7);
Tailwind
colors: {
  custom: {
    50: '#9469c8',
    500: '#5e2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #5e2aaf;
$custom-light: #9469c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2aaf",
  "rgb": {
    "r": 94,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 263.459,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43788,
    "c": 0.1949,
    "h": 294.7
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#5E2AAF
secondary
#A4C66F
accent
#E443A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

#5E2AAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva