#4D32B3#4D32B3

#4D32B3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.191 H 284.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4D32B3
RGBrgb(77, 50, 179)
HSLhsl(253, 56%, 45%)
HSVhsv(253, 72%, 70%)
CMYKcmyk(57%, 72.1%, 0%, 29.8%)
CIE-LABlab(32.06, 45.98, -64.28)
CIE-LCHlch(32.06, 79.03, 305.58°)
OKLaboklab(43.45% 0.0488 -0.185)
OKLCHoklch(43.45% 0.191 284.8)
XYZxyz(12.3354, 7.1129, 43.3620)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32B3 #98B332
analogous
#3258B3 #4D32B3 #8D32B3
triadic
#4D32B3 #B34D32 #32B34D
tetradic
#4D32B3 #B33258 #98B332 #32B38D
square
#4D32B3 #B33258 #98B332 #32B38D
split-complementary
#4D32B3 #B38D32 #58B332
monochromatic
#241753 #382583 #4D32B3 #6D53CF #9683DC

Accessibility & contrast

On white

8.67
#4D32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4D32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32B3
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32B3#FFFFFF#000000##FFFFFF
##4D32B31.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#1A556F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d32b3;
/* rgb */ color: rgb(77, 50, 179);
/* oklch */ color: oklch(43.4% 0.191 284.8);
Tailwind
colors: {
  custom: {
    50: '#8a6dcb',
    500: '#4d32b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d32b3;
$custom-light: #8a6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32b3",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 252.558,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43448,
    "c": 0.19134,
    "h": 284.8
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#4D32B3
secondary
#B6C67B
accent
#E048C0
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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