#4D2575#4D2575

#4D2575 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.132 H 303.4°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4D2575
RGBrgb(77, 37, 117)
HSLhsl(270, 52%, 30%)
HSVhsv(270, 68%, 46%)
CMYKcmyk(34.2%, 68.4%, 0%, 54.1%)
CIE-LABlab(24.27, 35.31, -38.82)
CIE-LCHlch(24.27, 52.47, 312.29°)
OKLaboklab(36.26% 0.0726 -0.1102)
OKLCHoklch(36.26% 0.132 303.4)
XYZxyz(6.9323, 4.1853, 17.2688)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2575 #4D7525
analogous
#252575 #4D2575 #752575
triadic
#4D2575 #754D25 #25754D
tetradic
#4D2575 #752525 #4D7525 #257575
square
#4D2575 #752525 #4D7525 #257575
split-complementary
#4D2575 #757525 #257525
monochromatic
#100818 #2E1647 #4D2575 #6C34A3 #8A4EC7

Accessibility & contrast

On white

11.43
#4D2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4D2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2575
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2575#FFFFFF#000000##FFFFFF
##4D25751.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#093A73
Tritanopia (blue-blind)
#453749
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d2575;
/* rgb */ color: rgb(77, 37, 117);
/* oklch */ color: oklch(36.3% 0.132 303.4);
Tailwind
colors: {
  custom: {
    50: '#82629d',
    500: '#4d2575',
    950: '#000000',
  },
}
SCSS
$custom: #4d2575;
$custom-light: #82629d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2575",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 270,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36259,
    "c": 0.13199,
    "h": 303.4
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#4D2575
secondary
#7BA84E
accent
#DB4C94
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4D2575

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

Preview Lab → · Contrast checker → · Palette generator →

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