#4D2372#4D2372

#4D2372 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.131 H 305.0°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4D2372
RGBrgb(77, 35, 114)
HSLhsl(272, 53%, 29%)
HSVhsv(272, 69%, 45%)
CMYKcmyk(32.5%, 69.3%, 0%, 55.3%)
CIE-LABlab(23.65, 35.60, -37.90)
CIE-LCHlch(23.65, 52.00, 313.21°)
OKLaboklab(35.74% 0.0754 -0.1075)
OKLCHoklch(35.74% 0.131 305)
XYZxyz(6.6982, 3.9948, 16.3345)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2372 #487223
analogous
#262372 #4D2372 #722370
triadic
#4D2372 #724D23 #23724D
tetradic
#4D2372 #722623 #487223 #237072
square
#4D2372 #722623 #487223 #237072
split-complementary
#4D2372 #707223 #237226
monochromatic
#100717 #2D1543 #4D2372 #6D31A1 #8C48C7

Accessibility & contrast

On white

11.67
#4D2372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4D2372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2372
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2372#FFFFFF#000000##FFFFFF
##4D23721.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#0B3870
Tritanopia (blue-blind)
#463447
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4d2372;
/* rgb */ color: rgb(77, 35, 114);
/* oklch */ color: oklch(35.7% 0.131 305.0);
Tailwind
colors: {
  custom: {
    50: '#82619b',
    500: '#4d2372',
    950: '#000000',
  },
}
SCSS
$custom: #4d2372;
$custom-light: #82619b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2372",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 271.899,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35741,
    "c": 0.13131,
    "h": 305
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#4D2372
secondary
#76A54C
accent
#DC4B8F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4D2372

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

Preview Lab → · Contrast checker → · Palette generator →

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