#4D33B4#4D33B4

#4D33B4 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.191 H 284.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4D33B4
RGBrgb(77, 51, 180)
HSLhsl(252, 56%, 45%)
HSVhsv(252, 72%, 71%)
CMYKcmyk(57.2%, 71.7%, 0%, 29.4%)
CIE-LABlab(32.35, 45.74, -64.41)
CIE-LCHlch(32.35, 79.00, 305.38°)
OKLaboklab(43.68% 0.0477 -0.1854)
OKLCHoklch(43.68% 0.191 284.4)
XYZxyz(12.4801, 7.2400, 43.9110)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33B4 #9AB433
analogous
#3359B4 #4D33B4 #8D33B4
triadic
#4D33B4 #B44D33 #33B44D
tetradic
#4D33B4 #B43359 #9AB433 #33B48D
square
#4D33B4 #B43359 #9AB433 #33B48D
split-complementary
#4D33B4 #B48D33 #59B433
monochromatic
#241855 #392584 #4D33B4 #6E55CF #9785DC

Accessibility & contrast

On white

8.58
#4D33B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4D33B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33B4
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33B4#FFFFFF#000000##FFFFFF
##4D33B41.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#185670
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d33b4;
/* rgb */ color: rgb(77, 51, 180);
/* oklch */ color: oklch(43.7% 0.191 284.4);
Tailwind
colors: {
  custom: {
    50: '#8a6dcc',
    500: '#4d33b4',
    950: '#000000',
  },
}
SCSS
$custom: #4d33b4;
$custom-light: #8a6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33b4",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 252.093,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43678,
    "c": 0.19146,
    "h": 284.4
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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