#4E33A3#4E33A3

#4E33A3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.170 H 287.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4E33A3
RGBrgb(78, 51, 163)
HSLhsl(254, 52%, 42%)
HSVhsv(254, 69%, 64%)
CMYKcmyk(52.1%, 68.7%, 0%, 36.1%)
CIE-LABlab(30.95, 40.80, -56.50)
CIE-LCHlch(30.95, 69.69, 305.83°)
OKLaboklab(42.25% 0.0523 -0.1622)
OKLCHoklch(42.25% 0.17 287.9)
XYZxyz(10.9346, 6.6312, 35.3470)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33A3 #88A333
analogous
#3350A3 #4E33A3 #8633A3
triadic
#4E33A3 #A34E33 #33A34E
tetradic
#4E33A3 #A33350 #88A333 #33A386
square
#4E33A3 #A33350 #88A333 #33A386
split-complementary
#4E33A3 #A38633 #50A333
monochromatic
#211646 #382474 #4E33A3 #6A4CC7 #917BD6

Accessibility & contrast

On white

9.03
#4E33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E33A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33A3
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33A3#FFFFFF#000000##FFFFFF
##4E33A31.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#2E4F67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e33a3;
/* rgb */ color: rgb(78, 51, 163);
/* oklch */ color: oklch(42.2% 0.170 287.9);
Tailwind
colors: {
  custom: {
    50: '#886dbf',
    500: '#4e33a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e33a3;
$custom-light: #886dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33a3",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 254.464,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42245,
    "c": 0.17042,
    "h": 287.9
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#4E33A3
secondary
#ACBE73
accent
#DC4CB9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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