#4D2373#4D2373

#4D2373 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.132 H 304.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#4D2373
RGBrgb(77, 35, 115)
HSLhsl(272, 53%, 29%)
HSVhsv(272, 70%, 45%)
CMYKcmyk(33%, 69.6%, 0%, 54.9%)
CIE-LABlab(23.73, 35.86, -38.42)
CIE-LCHlch(23.73, 52.56, 313.03°)
OKLaboklab(35.82% 0.0753 -0.109)
OKLCHoklch(35.82% 0.132 304.6)
XYZxyz(6.7554, 4.0177, 16.6359)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2373 #497323
analogous
#252373 #4D2373 #732371
triadic
#4D2373 #734D23 #23734D
tetradic
#4D2373 #732523 #497323 #237173
square
#4D2373 #732523 #497323 #237173
split-complementary
#4D2373 #717323 #237325
monochromatic
#100717 #2E1544 #4D2373 #6C31A2 #8B49C8

Accessibility & contrast

On white

11.64
#4D2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2373
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2373#FFFFFF#000000##FFFFFF
##4D23731.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#093871
Tritanopia (blue-blind)
#463548
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4d2373;
/* rgb */ color: rgb(77, 35, 115);
/* oklch */ color: oklch(35.8% 0.132 304.6);
Tailwind
colors: {
  custom: {
    50: '#82619c',
    500: '#4d2373',
    950: '#000000',
  },
}
SCSS
$custom: #4d2373;
$custom-light: #82619c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2373",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 271.5,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35819,
    "c": 0.13249,
    "h": 304.6
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#4D2373
secondary
#77A64C
accent
#DD4B90
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4D2373

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

Preview Lab → · Contrast checker → · Palette generator →

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