#4E33A0#4E33A0

#4E33A0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.167 H 288.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4E33A0
RGBrgb(78, 51, 160)
HSLhsl(255, 52%, 41%)
HSVhsv(255, 68%, 63%)
CMYKcmyk(51.2%, 68.1%, 0%, 37.3%)
CIE-LABlab(30.70, 39.90, -55.10)
CIE-LCHlch(30.70, 68.03, 305.91°)
OKLaboklab(41.99% 0.0528 -0.1581)
OKLCHoklch(41.99% 0.167 288.5)
XYZxyz(10.6690, 6.5249, 33.9482)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33A0 #85A033
analogous
#334FA0 #4E33A0 #8533A0
triadic
#4E33A0 #A04E33 #33A04E
tetradic
#4E33A0 #A0334F #85A033 #33A085
square
#4E33A0 #A0334F #85A033 #33A085
split-complementary
#4E33A0 #A08533 #4FA033
monochromatic
#211543 #372472 #4E33A0 #694BC6 #9079D4

Accessibility & contrast

On white

9.11
#4E33A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E33A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33A0
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33A0#FFFFFF#000000##FFFFFF
##4E33A01.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#314E65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e33a0;
/* rgb */ color: rgb(78, 51, 160);
/* oklch */ color: oklch(42.0% 0.167 288.5);
Tailwind
colors: {
  custom: {
    50: '#876dbd',
    500: '#4e33a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e33a0;
$custom-light: #876dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33a0",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 160
  },
  "hsl": {
    "h": 254.862,
    "s": 51.659,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.16665,
    "h": 288.5
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#4E33A0
secondary
#AABD72
accent
#DB4DB8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E33A0

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

Preview Lab → · Contrast checker → · Palette generator →

#4E33A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva