#4B33B2#4B33B2

#4B33B2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.189 H 283.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4B33B2
RGBrgb(75, 51, 178)
HSLhsl(251, 55%, 45%)
HSVhsv(251, 71%, 70%)
CMYKcmyk(57.9%, 71.3%, 0%, 30.2%)
CIE-LABlab(31.98, 44.84, -63.82)
CIE-LCHlch(31.98, 78.00, 305.09°)
OKLaboklab(43.32% 0.0453 -0.1838)
OKLCHoklch(43.32% 0.189 283.8)
XYZxyz(12.1189, 7.0771, 42.8383)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B33B2 #9AB233
analogous
#335AB2 #4B33B2 #8B33B2
triadic
#4B33B2 #B24B33 #33B24B
tetradic
#4B33B2 #B2335A #9AB233 #33B28B
square
#4B33B2 #B2335A #9AB233 #33B28B
split-complementary
#4B33B2 #B28B33 #5AB233
monochromatic
#231853 #372582 #4B33B2 #6B54CE #9484DC

Accessibility & contrast

On white

8.69
#4B33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4B33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B33B2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B33B2#FFFFFF#000000##FFFFFF
##4B33B21.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#12556F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b33b2;
/* rgb */ color: rgb(75, 51, 178);
/* oklch */ color: oklch(43.3% 0.189 283.8);
Tailwind
colors: {
  custom: {
    50: '#896dca',
    500: '#4b33b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b33b2;
$custom-light: #896dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b33b2",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 251.339,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43317,
    "c": 0.18926,
    "h": 283.8
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#4B33B2
secondary
#B7C57C
accent
#DF49C2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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