#4C33B7#4C33B7

#4C33B7 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.195 H 283.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4C33B7
RGBrgb(76, 51, 183)
HSLhsl(251, 56%, 46%)
HSVhsv(251, 72%, 72%)
CMYKcmyk(58.5%, 72.1%, 0%, 28.2%)
CIE-LABlab(32.53, 46.50, -65.89)
CIE-LCHlch(32.53, 80.65, 305.21°)
OKLaboklab(43.87% 0.0457 -0.1898)
OKLCHoklch(43.87% 0.195 283.5)
XYZxyz(12.7089, 7.3222, 45.5342)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C33B7 #9EB733
analogous
#335CB7 #4C33B7 #8E33B7
triadic
#4C33B7 #B74C33 #33B74C
tetradic
#4C33B7 #B7335C #9EB733 #33B78E
square
#4C33B7 #B7335C #9EB733 #33B78E
split-complementary
#4C33B7 #B78E33 #5CB733
monochromatic
#241857 #382687 #4C33B7 #6E57D0 #9787DE

Accessibility & contrast

On white

8.52
#4C33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4C33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C33B7
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C33B7#FFFFFF#000000##FFFFFF
##4C33B71.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#0C5772
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c33b7;
/* rgb */ color: rgb(76, 51, 183);
/* oklch */ color: oklch(43.9% 0.195 283.5);
Tailwind
colors: {
  custom: {
    50: '#8a6dce',
    500: '#4c33b7',
    950: '#000000',
  },
}
SCSS
$custom: #4c33b7;
$custom-light: #8a6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4c33b7",
  "rgb": {
    "r": 76,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 251.364,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43869,
    "c": 0.19521,
    "h": 283.5
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#4C33B7
secondary
#B9C77F
accent
#E048C3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4C33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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