#4E33B0#4E33B0

#4E33B0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.186 H 285.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4E33B0
RGBrgb(78, 51, 176)
HSLhsl(253, 55%, 45%)
HSVhsv(253, 71%, 69%)
CMYKcmyk(55.7%, 71%, 0%, 31%)
CIE-LABlab(32.08, 44.69, -62.46)
CIE-LCHlch(32.08, 76.80, 305.59°)
OKLaboklab(43.4% 0.05 -0.1797)
OKLCHoklch(43.4% 0.186 285.5)
XYZxyz(12.1598, 7.1213, 41.7997)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33B0 #95B033
analogous
#3357B0 #4E33B0 #8D33B0
triadic
#4E33B0 #B04E33 #33B04E
tetradic
#4E33B0 #B03357 #95B033 #33B08D
square
#4E33B0 #B03357 #95B033 #33B08D
split-complementary
#4E33B0 #B08D33 #57B033
monochromatic
#241851 #392581 #4E33B0 #6D53CD #9682DB

Accessibility & contrast

On white

8.66
#4E33B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E33B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33B0
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33B0#FFFFFF#000000##FFFFFF
##4E33B01.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#21546E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e33b0;
/* rgb */ color: rgb(78, 51, 176);
/* oklch */ color: oklch(43.4% 0.186 285.5);
Tailwind
colors: {
  custom: {
    50: '#8a6dc9',
    500: '#4e33b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e33b0;
$custom-light: #8a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33b0",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 176
  },
  "hsl": {
    "h": 252.96,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43401,
    "c": 0.18649,
    "h": 285.5
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#4E33B0
secondary
#B4C47B
accent
#DE49BE
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E33B0

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

Preview Lab → · Contrast checker → · Palette generator →

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