#4D33BB#4D33BB

#4D33BB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.200 H 283.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4D33BB
RGBrgb(77, 51, 187)
HSLhsl(251, 57%, 47%)
HSVhsv(251, 73%, 73%)
CMYKcmyk(58.8%, 72.7%, 0%, 26.7%)
CIE-LABlab(32.99, 47.84, -67.50)
CIE-LCHlch(32.99, 82.73, 305.33°)
OKLaboklab(44.33% 0.0463 -0.1945)
OKLCHoklch(44.33% 0.2 283.4)
XYZxyz(13.2113, 7.5324, 47.7618)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33BB #A1BB33
analogous
#335DBB #4D33BB #9133BB
triadic
#4D33BB #BB4D33 #33BB4D
tetradic
#4D33BB #BB335D #A1BB33 #33BB91
square
#4D33BB #BB335D #A1BB33 #33BB91
split-complementary
#4D33BB #BB9133 #5DBB33
monochromatic
#25195B #39268B #4D33BB #7059D2 #9A89DF

Accessibility & contrast

On white

8.38
#4D33BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D33BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33BB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33BB#FFFFFF#000000##FFFFFF
##4D33BB1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#065874
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d33bb;
/* rgb */ color: rgb(77, 51, 187);
/* oklch */ color: oklch(44.3% 0.200 283.4);
Tailwind
colors: {
  custom: {
    50: '#8b6ed1',
    500: '#4d33bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d33bb;
$custom-light: #8b6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33bb",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 251.471,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.19989,
    "h": 283.4
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

primary
#4D33BB
secondary
#BBC981
accent
#E047C3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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