#4D33B8#4D33B8

#4D33B8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.196 H 283.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4D33B8
RGBrgb(77, 51, 184)
HSLhsl(252, 57%, 46%)
HSVhsv(252, 72%, 72%)
CMYKcmyk(58.2%, 72.3%, 0%, 27.8%)
CIE-LABlab(32.71, 46.94, -66.18)
CIE-LCHlch(32.71, 81.14, 305.35°)
OKLaboklab(44.05% 0.0469 -0.1906)
OKLCHoklch(44.05% 0.196 283.8)
XYZxyz(12.8935, 7.4053, 46.0881)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33B8 #9EB833
analogous
#335BB8 #4D33B8 #8F33B8
triadic
#4D33B8 #B84D33 #33B84D
tetradic
#4D33B8 #B8335B #9EB833 #33B88F
square
#4D33B8 #B8335B #9EB833 #33B88F
split-complementary
#4D33B8 #B88F33 #5BB833
monochromatic
#251858 #392688 #4D33B8 #6F58D1 #9888DE

Accessibility & contrast

On white

8.46
#4D33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33B8
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33B8#FFFFFF#000000##FFFFFF
##4D33B81.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#0F5772
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d33b8;
/* rgb */ color: rgb(77, 51, 184);
/* oklch */ color: oklch(44.0% 0.196 283.8);
Tailwind
colors: {
  custom: {
    50: '#8b6dce',
    500: '#4d33b8',
    950: '#000000',
  },
}
SCSS
$custom: #4d33b8;
$custom-light: #8b6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33b8",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 251.729,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44049,
    "c": 0.19629,
    "h": 283.8
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#4D33B8
secondary
#BAC87F
accent
#E048C2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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