#4D32BB#4D32BB

#4D32BB is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.201 H 283.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4D32BB
RGBrgb(77, 50, 187)
HSLhsl(252, 58%, 46%)
HSVhsv(252, 73%, 73%)
CMYKcmyk(58.8%, 73.3%, 0%, 26.7%)
CIE-LABlab(32.80, 48.37, -67.81)
CIE-LCHlch(32.80, 83.29, 305.50°)
OKLaboklab(44.2% 0.047 -0.1954)
OKLCHoklch(44.2% 0.201 283.5)
XYZxyz(13.1680, 7.4460, 47.7474)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32BB #A0BB32
analogous
#325CBB #4D32BB #9232BB
triadic
#4D32BB #BB4D32 #32BB4D
tetradic
#4D32BB #BB325C #A0BB32 #32BB92
square
#4D32BB #BB325C #A0BB32 #32BB92
split-complementary
#4D32BB #BB9232 #5CBB32
monochromatic
#25185A #39258B #4D32BB #7058D2 #9988DF

Accessibility & contrast

On white

8.44
#4D32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D32BB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32BB#FFFFFF#000000##FFFFFF
##4D32BB1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d32bb;
/* rgb */ color: rgb(77, 50, 187);
/* oklch */ color: oklch(44.2% 0.201 283.5);
Tailwind
colors: {
  custom: {
    50: '#8b6dd1',
    500: '#4d32bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d32bb;
$custom-light: #8b6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32bb",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 251.825,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44196,
    "c": 0.20094,
    "h": 283.5
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#4D32BB
secondary
#BBC980
accent
#E147C3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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