#4C33B3#4C33B3

#4C33B3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.190 H 284.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4C33B3
RGBrgb(76, 51, 179)
HSLhsl(252, 56%, 45%)
HSVhsv(252, 72%, 70%)
CMYKcmyk(57.5%, 71.5%, 0%, 29.8%)
CIE-LABlab(32.16, 45.29, -64.12)
CIE-LCHlch(32.16, 78.50, 305.24°)
OKLaboklab(43.5% 0.0465 -0.1846)
OKLCHoklch(43.5% 0.19 284.1)
XYZxyz(12.2985, 7.1581, 43.3727)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C33B3 #9AB333
analogous
#335AB3 #4C33B3 #8C33B3
triadic
#4C33B3 #B34C33 #33B34C
tetradic
#4C33B3 #B3335A #9AB333 #33B38C
square
#4C33B3 #B3335A #9AB333 #33B38C
split-complementary
#4C33B3 #B38C33 #5AB333
monochromatic
#241854 #382583 #4C33B3 #6C55CE #9584DC

Accessibility & contrast

On white

8.64
#4C33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4C33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C33B3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C33B3#FFFFFF#000000##FFFFFF
##4C33B31.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#15556F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c33b3;
/* rgb */ color: rgb(76, 51, 179);
/* oklch */ color: oklch(43.5% 0.190 284.1);
Tailwind
colors: {
  custom: {
    50: '#896dcb',
    500: '#4c33b3',
    950: '#000000',
  },
}
SCSS
$custom: #4c33b3;
$custom-light: #896dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c33b3",
  "rgb": {
    "r": 76,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 251.719,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43497,
    "c": 0.19036,
    "h": 284.1
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#4C33B3
secondary
#B7C67C
accent
#DF49C2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4C33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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