#4E33CC#4E33CC

#4E33CC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.220 H 281.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4E33CC
RGBrgb(78, 51, 204)
HSLhsl(251, 60%, 50%)
HSVhsv(251, 75%, 80%)
CMYKcmyk(61.8%, 75%, 0%, 20%)
CIE-LABlab(34.69, 53.02, -74.65)
CIE-LCHlch(34.69, 91.56, 305.38°)
OKLaboklab(46.04% 0.0438 -0.2153)
OKLCHoklch(46.04% 0.22 281.5)
XYZxyz(15.2214, 8.3459, 57.9238)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33CC #B1CC33
analogous
#3365CC #4E33CC #9A33CC
triadic
#4E33CC #CC4E33 #33CC4E
tetradic
#4E33CC #CC3365 #B1CC33 #33CC9A
square
#4E33CC #CC3365 #B1CC33 #33CC9A
split-complementary
#4E33CC #CC9A33 #65CC33
monochromatic
#291B6A #3B279B #4E33CC #7864D8 #A395E4

Accessibility & contrast

On white

7.87
#4E33CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E33CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33CC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33CC#FFFFFF#000000##FFFFFF
##4E33CC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e33cc;
/* rgb */ color: rgb(78, 51, 204);
/* oklch */ color: oklch(46.0% 0.220 281.5);
Tailwind
colors: {
  custom: {
    50: '#8f6edd',
    500: '#4e33cc',
    950: '#000000',
  },
}
SCSS
$custom: #4e33cc;
$custom-light: #8f6edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33cc",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 250.588,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.46042,
    "c": 0.21974,
    "h": 281.5
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#4E33CC
secondary
#C4D08B
accent
#E345C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E33CC

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

Preview Lab → · Contrast checker → · Palette generator →

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