#4E33AB#4E33AB

#4E33AB is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.180 H 286.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4E33AB
RGBrgb(78, 51, 171)
HSLhsl(254, 54%, 44%)
HSVhsv(254, 70%, 67%)
CMYKcmyk(54.4%, 70.2%, 0%, 32.9%)
CIE-LABlab(31.64, 43.20, -60.19)
CIE-LCHlch(31.64, 74.09, 305.67°)
OKLaboklab(42.95% 0.0509 -0.173)
OKLCHoklch(42.95% 0.18 286.4)
XYZxyz(11.6742, 6.9270, 39.2421)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33AB #90AB33
analogous
#3354AB #4E33AB #8A33AB
triadic
#4E33AB #AB4E33 #33AB4E
tetradic
#4E33AB #AB3354 #90AB33 #33AB8A
square
#4E33AB #AB3354 #90AB33 #33AB8A
split-complementary
#4E33AB #AB8A33 #54AB33
monochromatic
#23174D #38257C #4E33AB #6C50CB #947FD9

Accessibility & contrast

On white

8.80
#4E33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33AB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33AB#FFFFFF#000000##FFFFFF
##4E33AB1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#27526B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e33ab;
/* rgb */ color: rgb(78, 51, 171);
/* oklch */ color: oklch(43.0% 0.180 286.4);
Tailwind
colors: {
  custom: {
    50: '#896dc5',
    500: '#4e33ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e33ab;
$custom-light: #896dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33ab",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 253.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42951,
    "c": 0.18035,
    "h": 286.4
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#4E33AB
secondary
#B1C278
accent
#DD4ABC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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