#4E33B7#4E33B7

#4E33B7 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.195 H 284.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4E33B7
RGBrgb(78, 51, 183)
HSLhsl(252, 56%, 46%)
HSVhsv(252, 72%, 72%)
CMYKcmyk(57.4%, 72.1%, 0%, 28.2%)
CIE-LABlab(32.71, 46.79, -65.58)
CIE-LCHlch(32.71, 80.56, 305.50°)
OKLaboklab(44.04% 0.0486 -0.1888)
OKLCHoklch(44.04% 0.195 284.4)
XYZxyz(12.8703, 7.4055, 45.5418)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33B7 #9CB733
analogous
#335AB7 #4E33B7 #9033B7
triadic
#4E33B7 #B74E33 #33B74E
tetradic
#4E33B7 #B7335A #9CB733 #33B790
square
#4E33B7 #B7335A #9CB733 #33B790
split-complementary
#4E33B7 #B79033 #5AB733
monochromatic
#251857 #3A2687 #4E33B7 #7057D0 #9987DE

Accessibility & contrast

On white

8.46
#4E33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33B7
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33B7#FFFFFF#000000##FFFFFF
##4E33B71.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#175772
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e33b7;
/* rgb */ color: rgb(78, 51, 183);
/* oklch */ color: oklch(44.0% 0.195 284.4);
Tailwind
colors: {
  custom: {
    50: '#8b6dce',
    500: '#4e33b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e33b7;
$custom-light: #8b6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33b7",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 252.273,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.19497,
    "h": 284.4
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#4E33B7
secondary
#B8C77F
accent
#E048C1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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