#4E33B5#4E33B5

#4E33B5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.193 H 284.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E33B5
RGBrgb(78, 51, 181)
HSLhsl(252, 56%, 45%)
HSVhsv(252, 72%, 71%)
CMYKcmyk(56.9%, 71.8%, 0%, 29%)
CIE-LABlab(32.53, 46.19, -64.70)
CIE-LCHlch(32.53, 79.49, 305.53°)
OKLaboklab(43.86% 0.049 -0.1862)
OKLCHoklch(43.86% 0.193 284.7)
XYZxyz(12.6637, 7.3228, 44.4532)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33B5 #9AB533
analogous
#3359B5 #4E33B5 #8F33B5
triadic
#4E33B5 #B54E33 #33B54E
tetradic
#4E33B5 #B53359 #9AB533 #33B58F
square
#4E33B5 #B53359 #9AB533 #33B58F
split-complementary
#4E33B5 #B58F33 #59B533
monochromatic
#251856 #392685 #4E33B5 #6F56CF #9886DD

Accessibility & contrast

On white

8.52
#4E33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33B5
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33B5#FFFFFF#000000##FFFFFF
##4E33B51.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#1A5671
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e33b5;
/* rgb */ color: rgb(78, 51, 181);
/* oklch */ color: oklch(43.9% 0.193 284.7);
Tailwind
colors: {
  custom: {
    50: '#8b6dcc',
    500: '#4e33b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e33b5;
$custom-light: #8b6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33b5",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 252.462,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.19256,
    "h": 284.7
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#4E33B5
secondary
#B7C67D
accent
#DF48C0
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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