#5E33A3#5E33A3

#5E33A3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.171 H 296.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5E33A3
RGBrgb(94, 51, 163)
HSLhsl(263, 52%, 42%)
HSVhsv(263, 69%, 64%)
CMYKcmyk(42.3%, 68.7%, 0%, 36.1%)
CIE-LABlab(32.68, 43.82, -53.61)
CIE-LCHlch(32.68, 69.24, 309.26°)
OKLaboklab(43.89% 0.0755 -0.1531)
OKLCHoklch(43.89% 0.171 296.2)
XYZxyz(12.4090, 7.3914, 35.4161)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33A3 #78A333
analogous
#3340A3 #5E33A3 #9633A3
triadic
#5E33A3 #A35E33 #33A35E
tetradic
#5E33A3 #A33340 #78A333 #33A396
square
#5E33A3 #A33340 #78A333 #33A396
split-complementary
#5E33A3 #A39633 #40A333
monochromatic
#281646 #432474 #5E33A3 #7B4CC7 #9E7BD6

Accessibility & contrast

On white

8.47
#5E33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5E33A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E33A3
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33A3#FFFFFF#000000##FFFFFF
##5E33A31.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#4C4E67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e33a3;
/* rgb */ color: rgb(94, 51, 163);
/* oklch */ color: oklch(43.9% 0.171 296.2);
Tailwind
colors: {
  custom: {
    50: '#916ebf',
    500: '#5e33a3',
    950: '#000000',
  },
}
SCSS
$custom: #5e33a3;
$custom-light: #916ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33a3",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 263.036,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43888,
    "c": 0.17073,
    "h": 296.2
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#5E33A3
secondary
#A2BE73
accent
#DC4CA5
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5E33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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