#4E33C4#4E33C4

#4E33C4 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.210 H 282.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4E33C4
RGBrgb(78, 51, 196)
HSLhsl(251, 59%, 48%)
HSVhsv(251, 74%, 77%)
CMYKcmyk(60.2%, 74%, 0%, 23.1%)
CIE-LABlab(33.92, 50.66, -71.25)
CIE-LCHlch(33.92, 87.42, 305.41°)
OKLaboklab(45.27% 0.0457 -0.2054)
OKLCHoklch(45.27% 0.21 282.5)
XYZxyz(14.2864, 7.9719, 52.9997)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33C4 #A9C433
analogous
#3361C4 #4E33C4 #9633C4
triadic
#4E33C4 #C44E33 #33C44E
tetradic
#4E33C4 #C43361 #A9C433 #33C496
square
#4E33C4 #C43361 #A9C433 #33C496
split-complementary
#4E33C4 #C49633 #61C433
monochromatic
#271A63 #3B2693 #4E33C4 #755FD5 #9F8FE2

Accessibility & contrast

On white

8.09
#4E33C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E33C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33C4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33C4#FFFFFF#000000##FFFFFF
##4E33C41.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e33c4;
/* rgb */ color: rgb(78, 51, 196);
/* oklch */ color: oklch(45.3% 0.210 282.5);
Tailwind
colors: {
  custom: {
    50: '#8d6ed7',
    500: '#4e33c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e33c4;
$custom-light: #8d6ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33c4",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 251.172,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.21041,
    "h": 282.5
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#4E33C4
secondary
#BFCD86
accent
#E246C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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