#4C33B2#4C33B2

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

Color values

HEX#4C33B2
RGBrgb(76, 51, 178)
HSLhsl(252, 55%, 45%)
HSVhsv(252, 71%, 70%)
CMYKcmyk(57.3%, 71.3%, 0%, 30.2%)
CIE-LABlab(32.07, 44.99, -63.67)
CIE-LCHlch(32.07, 77.96, 305.25°)
OKLaboklab(43.41% 0.0467 -0.1833)
OKLCHoklch(43.41% 0.189 284.3)
XYZxyz(12.1977, 7.1178, 42.8420)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C33B2 #99B233
analogous
#3359B2 #4C33B2 #8C33B2
triadic
#4C33B2 #B24C33 #33B24C
tetradic
#4C33B2 #B23359 #99B233 #33B28C
square
#4C33B2 #B23359 #99B233 #33B28C
split-complementary
#4C33B2 #B28C33 #59B233
monochromatic
#231853 #382582 #4C33B2 #6C54CE #9584DC

Accessibility & contrast

On white

8.66
#4C33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C33B2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C33B2#FFFFFF#000000##FFFFFF
##4C33B21.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c33b2;
/* rgb */ color: rgb(76, 51, 178);
/* oklch */ color: oklch(43.4% 0.189 284.3);
Tailwind
colors: {
  custom: {
    50: '#896dca',
    500: '#4c33b2',
    950: '#000000',
  },
}
SCSS
$custom: #4c33b2;
$custom-light: #896dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4c33b2",
  "rgb": {
    "r": 76,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 251.811,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43405,
    "c": 0.18914,
    "h": 284.3
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#4C33B2
secondary
#B7C57C
accent
#DF49C1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4C33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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