#4B33AC#4B33AC

#4B33AC is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.182 H 284.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4B33AC
RGBrgb(75, 51, 172)
HSLhsl(252, 54%, 44%)
HSVhsv(252, 70%, 67%)
CMYKcmyk(56.4%, 70.3%, 0%, 32.5%)
CIE-LABlab(31.44, 43.02, -61.12)
CIE-LCHlch(31.44, 74.74, 305.14°)
OKLaboklab(42.77% 0.0464 -0.1758)
OKLCHoklch(42.77% 0.182 284.8)
XYZxyz(11.5296, 6.8414, 39.7347)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B33AC #94AC33
analogous
#3357AC #4B33AC #8733AC
triadic
#4B33AC #AC4B33 #33AC4B
tetradic
#4B33AC #AC3357 #94AC33 #33AC87
square
#4B33AC #AC3357 #94AC33 #33AC87
split-complementary
#4B33AC #AC8733 #57AC33
monochromatic
#22174E #36257D #4B33AC #6951CB #9280D9

Accessibility & contrast

On white

8.87
#4B33AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4B33AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B33AC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B33AC#FFFFFF#000000##FFFFFF
##4B33AC1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#1D536C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b33ac;
/* rgb */ color: rgb(75, 51, 172);
/* oklch */ color: oklch(42.8% 0.182 284.8);
Tailwind
colors: {
  custom: {
    50: '#886dc6',
    500: '#4b33ac',
    950: '#000000',
  },
}
SCSS
$custom: #4b33ac;
$custom-light: #886dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b33ac",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 251.901,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.18188,
    "h": 284.8
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#4B33AC
secondary
#B4C278
accent
#DE4AC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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