#4D32BE#4D32BE

#4D32BE is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.5% C 0.204 H 283.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4D32BE
RGBrgb(77, 50, 190)
HSLhsl(252, 58%, 47%)
HSVhsv(252, 74%, 75%)
CMYKcmyk(59.5%, 73.7%, 0%, 25.5%)
CIE-LABlab(33.08, 49.26, -69.11)
CIE-LCHlch(33.08, 84.87, 305.48°)
OKLaboklab(44.48% 0.0463 -0.1992)
OKLCHoklch(44.48% 0.205 283.1)
XYZxyz(13.4926, 7.5758, 49.4565)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32BE #A3BE32
analogous
#325DBE #4D32BE #9332BE
triadic
#4D32BE #BE4D32 #32BE4D
tetradic
#4D32BE #BE325D #A3BE32 #32BE93
square
#4D32BE #BE325D #A3BE32 #32BE93
split-complementary
#4D32BE #BE9332 #5DBE32
monochromatic
#26195D #39258E #4D32BE #715AD3 #9B8AE0

Accessibility & contrast

On white

8.35
#4D32BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D32BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32BE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32BE#FFFFFF#000000##FFFFFF
##4D32BE1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d32be;
/* rgb */ color: rgb(77, 50, 190);
/* oklch */ color: oklch(44.5% 0.204 283.1);
Tailwind
colors: {
  custom: {
    50: '#8c6dd3',
    500: '#4d32be',
    950: '#000000',
  },
}
SCSS
$custom: #4d32be;
$custom-light: #8c6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32be",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 251.571,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.2045,
    "h": 283.1
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#4D32BE
secondary
#BCCA82
accent
#E246C4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D32BE

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

Preview Lab → · Contrast checker → · Palette generator →

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