#5E33AA#5E33AA

#5E33AA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.179 H 294.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5E33AA
RGBrgb(94, 51, 170)
HSLhsl(262, 54%, 43%)
HSVhsv(262, 70%, 67%)
CMYKcmyk(44.7%, 70%, 0%, 33.3%)
CIE-LABlab(33.24, 45.72, -56.91)
CIE-LCHlch(33.24, 73.00, 308.78°)
OKLaboklab(44.46% 0.0743 -0.1628)
OKLCHoklch(44.46% 0.179 294.5)
XYZxyz(13.0537, 7.6493, 38.8111)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33AA #7FAA33
analogous
#3343AA #5E33AA #9933AA
triadic
#5E33AA #AA5E33 #33AA5E
tetradic
#5E33AA #AA3343 #7FAA33 #33AA99
square
#5E33AA #AA3343 #7FAA33 #33AA99
split-complementary
#5E33AA #AA9933 #43AA33
monochromatic
#2A174C #44257B #5E33AA #7C50CA #9F7FD9

Accessibility & contrast

On white

8.30
#5E33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5E33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33AA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33AA#FFFFFF#000000##FFFFFF
##5E33AA1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#49516B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5e33aa;
/* rgb */ color: rgb(94, 51, 170);
/* oklch */ color: oklch(44.5% 0.179 294.5);
Tailwind
colors: {
  custom: {
    50: '#926ec4',
    500: '#5e33aa',
    950: '#000000',
  },
}
SCSS
$custom: #5e33aa;
$custom-light: #926ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33aa",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 261.681,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44463,
    "c": 0.17899,
    "h": 294.5
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#5E33AA
secondary
#A7C277
accent
#DD4BA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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