#4C33AA#4C33AA

#4C33AA is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.179 H 285.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4C33AA
RGBrgb(76, 51, 170)
HSLhsl(253, 54%, 43%)
HSVhsv(253, 70%, 67%)
CMYKcmyk(55.3%, 70%, 0%, 33.3%)
CIE-LABlab(31.36, 42.57, -60.06)
CIE-LCHlch(31.36, 73.61, 305.33°)
OKLaboklab(42.68% 0.0482 -0.1727)
OKLCHoklch(42.68% 0.179 285.6)
XYZxyz(11.4178, 6.8058, 38.7344)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C33AA #91AA33
analogous
#3355AA #4C33AA #8733AA
triadic
#4C33AA #AA4C33 #33AA4C
tetradic
#4C33AA #AA3355 #91AA33 #33AA87
square
#4C33AA #AA3355 #91AA33 #33AA87
split-complementary
#4C33AA #AA8733 #55AA33
monochromatic
#22174C #37257B #4C33AA #6A50CA #927FD9

Accessibility & contrast

On white

8.89
#4C33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4C33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C33AA
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C33AA#FFFFFF#000000##FFFFFF
##4C33AA1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#22526A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c33aa;
/* rgb */ color: rgb(76, 51, 170);
/* oklch */ color: oklch(42.7% 0.179 285.6);
Tailwind
colors: {
  custom: {
    50: '#886dc4',
    500: '#4c33aa',
    950: '#000000',
  },
}
SCSS
$custom: #4c33aa;
$custom-light: #886dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c33aa",
  "rgb": {
    "r": 76,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 252.605,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.1793,
    "h": 285.6
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#4C33AA
secondary
#B2C277
accent
#DD4BBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4C33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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