#4B33B5#4B33B5

#4B33B5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.193 H 283.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4B33B5
RGBrgb(75, 51, 181)
HSLhsl(251, 56%, 45%)
HSVhsv(251, 72%, 71%)
CMYKcmyk(58.6%, 71.8%, 0%, 29%)
CIE-LABlab(32.26, 45.75, -65.16)
CIE-LCHlch(32.26, 79.62, 305.07°)
OKLaboklab(43.6% 0.0447 -0.1877)
OKLCHoklch(43.6% 0.193 283.4)
XYZxyz(12.4234, 7.1989, 44.4420)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B33B5 #9DB533
analogous
#335CB5 #4B33B5 #8C33B5
triadic
#4B33B5 #B54B33 #33B54B
tetradic
#4B33B5 #B5335C #9DB533 #33B58C
square
#4B33B5 #B5335C #9DB533 #33B58C
split-complementary
#4B33B5 #B58C33 #5CB533
monochromatic
#231856 #372685 #4B33B5 #6C56CF #9686DD

Accessibility & contrast

On white

8.61
#4B33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4B33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B33B5
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B33B5#FFFFFF#000000##FFFFFF
##4B33B51.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#0B5671
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b33b5;
/* rgb */ color: rgb(75, 51, 181);
/* oklch */ color: oklch(43.6% 0.193 283.4);
Tailwind
colors: {
  custom: {
    50: '#896dcc',
    500: '#4b33b5',
    950: '#000000',
  },
}
SCSS
$custom: #4b33b5;
$custom-light: #896dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b33b5",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 251.077,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.19292,
    "h": 283.4
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#4B33B5
secondary
#B9C67D
accent
#DF48C3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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