#4C33BA#4C33BA

#4C33BA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.199 H 283.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4C33BA
RGBrgb(76, 51, 186)
HSLhsl(251, 57%, 46%)
HSVhsv(251, 73%, 73%)
CMYKcmyk(59.1%, 72.6%, 0%, 27.1%)
CIE-LABlab(32.81, 47.40, -67.21)
CIE-LCHlch(32.81, 82.25, 305.19°)
OKLaboklab(44.15% 0.0451 -0.1936)
OKLCHoklch(44.15% 0.199 283.1)
XYZxyz(13.0245, 7.4485, 47.1962)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C33BA #A1BA33
analogous
#335EBA #4C33BA #9033BA
triadic
#4C33BA #BA4C33 #33BA4C
tetradic
#4C33BA #BA335E #A1BA33 #33BA90
square
#4C33BA #BA335E #A1BA33 #33BA90
split-complementary
#4C33BA #BA9033 #5EBA33
monochromatic
#25195A #38268A #4C33BA #6F59D1 #9989DF

Accessibility & contrast

On white

8.43
#4C33BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4C33BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C33BA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C33BA#FFFFFF#000000##FFFFFF
##4C33BA1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#015873
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c33ba;
/* rgb */ color: rgb(76, 51, 186);
/* oklch */ color: oklch(44.1% 0.199 283.1);
Tailwind
colors: {
  custom: {
    50: '#8a6dd0',
    500: '#4c33ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c33ba;
$custom-light: #8a6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c33ba",
  "rgb": {
    "r": 76,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 251.111,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4415,
    "c": 0.19882,
    "h": 283.1
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#4C33BA
secondary
#BBC980
accent
#E048C4
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4C33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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