#4E33B4#4E33B4

#4E33B4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.191 H 284.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4E33B4
RGBrgb(78, 51, 180)
HSLhsl(253, 56%, 45%)
HSVhsv(253, 72%, 71%)
CMYKcmyk(56.7%, 71.7%, 0%, 29.4%)
CIE-LABlab(32.44, 45.89, -64.25)
CIE-LCHlch(32.44, 78.96, 305.54°)
OKLaboklab(43.77% 0.0492 -0.1849)
OKLCHoklch(43.77% 0.191 284.9)
XYZxyz(12.5614, 7.2819, 43.9148)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33B4 #99B433
analogous
#3359B4 #4E33B4 #8E33B4
triadic
#4E33B4 #B44E33 #33B44E
tetradic
#4E33B4 #B43359 #99B433 #33B48E
square
#4E33B4 #B43359 #99B433 #33B48E
split-complementary
#4E33B4 #B48E33 #59B433
monochromatic
#251855 #392584 #4E33B4 #6F55CF #9785DC

Accessibility & contrast

On white

8.55
#4E33B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E33B4
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33B4#FFFFFF#000000##FFFFFF
##4E33B41.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#1C5670
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e33b4;
/* rgb */ color: rgb(78, 51, 180);
/* oklch */ color: oklch(43.8% 0.191 284.9);
Tailwind
colors: {
  custom: {
    50: '#8a6dcc',
    500: '#4e33b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e33b4;
$custom-light: #8a6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33b4",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 252.558,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43767,
    "c": 0.19135,
    "h": 284.9
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#4E33B4
secondary
#B7C67D
accent
#DF49C0
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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