#4C33AB#4C33AB

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

Color values

HEX#4C33AB
RGBrgb(76, 51, 171)
HSLhsl(253, 54%, 44%)
HSVhsv(253, 70%, 67%)
CMYKcmyk(55.6%, 70.2%, 0%, 32.9%)
CIE-LABlab(31.45, 42.87, -60.51)
CIE-LCHlch(31.45, 74.16, 305.32°)
OKLaboklab(42.77% 0.048 -0.174)
OKLCHoklch(42.77% 0.181 285.4)
XYZxyz(11.5128, 6.8438, 39.2345)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C33AB #92AB33
analogous
#3356AB #4C33AB #8833AB
triadic
#4C33AB #AB4C33 #33AB4C
tetradic
#4C33AB #AB3356 #92AB33 #33AB88
square
#4C33AB #AB3356 #92AB33 #33AB88
split-complementary
#4C33AB #AB8833 #56AB33
monochromatic
#22174D #37257C #4C33AB #6A50CB #927FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C33AB#FFFFFF#000000##FFFFFF
##4C33AB1.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)
#004DAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#21526B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c33ab;
/* rgb */ color: rgb(76, 51, 171);
/* oklch */ color: oklch(42.8% 0.181 285.4);
Tailwind
colors: {
  custom: {
    50: '#886dc5',
    500: '#4c33ab',
    950: '#000000',
  },
}
SCSS
$custom: #4c33ab;
$custom-light: #886dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c33ab",
  "rgb": {
    "r": 76,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 252.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42767,
    "c": 0.18054,
    "h": 285.4
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#4C33AB
secondary
#B3C278
accent
#DD4ABF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4C33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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