#4D33B5#4D33B5

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

Color values

HEX#4D33B5
RGBrgb(77, 51, 181)
HSLhsl(252, 56%, 45%)
HSVhsv(252, 72%, 71%)
CMYKcmyk(57.5%, 71.8%, 0%, 29%)
CIE-LABlab(32.44, 46.04, -64.85)
CIE-LCHlch(32.44, 79.53, 305.37°)
OKLaboklab(43.77% 0.0475 -0.1867)
OKLCHoklch(43.77% 0.193 284.3)
XYZxyz(12.5823, 7.2809, 44.4494)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33B5 #9BB533
analogous
#335AB5 #4D33B5 #8E33B5
triadic
#4D33B5 #B54D33 #33B54D
tetradic
#4D33B5 #B5335A #9BB533 #33B58E
square
#4D33B5 #B5335A #9BB533 #33B58E
split-complementary
#4D33B5 #B58E33 #5AB533
monochromatic
#241856 #392685 #4D33B5 #6E56CF #9786DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D33B5#FFFFFF#000000##FFFFFF
##4D33B51.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)
#0050B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#165671
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d33b5;
/* rgb */ color: rgb(77, 51, 181);
/* oklch */ color: oklch(43.8% 0.193 284.3);
Tailwind
colors: {
  custom: {
    50: '#8a6dcc',
    500: '#4d33b5',
    950: '#000000',
  },
}
SCSS
$custom: #4d33b5;
$custom-light: #8a6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33b5",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 252,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4377,
    "c": 0.19267,
    "h": 284.3
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#4D33B5
secondary
#B8C67D
accent
#DF48C1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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