#4B33B1#4B33B1

#4B33B1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.188 H 284.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4B33B1
RGBrgb(75, 51, 177)
HSLhsl(251, 55%, 45%)
HSVhsv(251, 71%, 69%)
CMYKcmyk(57.6%, 71.2%, 0%, 30.6%)
CIE-LABlab(31.89, 44.54, -63.38)
CIE-LCHlch(31.89, 77.46, 305.10°)
OKLaboklab(43.23% 0.0455 -0.1824)
OKLCHoklch(43.23% 0.188 284)
XYZxyz(12.0189, 7.0371, 42.3114)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B33B1 #99B133
analogous
#335AB1 #4B33B1 #8A33B1
triadic
#4B33B1 #B14B33 #33B14B
tetradic
#4B33B1 #B1335A #99B133 #33B18A
square
#4B33B1 #B1335A #99B133 #33B18A
split-complementary
#4B33B1 #B18A33 #5AB133
monochromatic
#231852 #372581 #4B33B1 #6B54CE #9483DB

Accessibility & contrast

On white

8.72
#4B33B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4B33B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B33B1
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B33B1#FFFFFF#000000##FFFFFF
##4B33B11.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#14556E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b33b1;
/* rgb */ color: rgb(75, 51, 177);
/* oklch */ color: oklch(43.2% 0.188 284.0);
Tailwind
colors: {
  custom: {
    50: '#886dc9',
    500: '#4b33b1',
    950: '#000000',
  },
}
SCSS
$custom: #4b33b1;
$custom-light: #886dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b33b1",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 251.429,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43225,
    "c": 0.18804,
    "h": 284
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#4B33B1
secondary
#B7C57B
accent
#DF49C2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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