#4D357F#4D357F

#4D357F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.6% C 0.120 H 295.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4D357F
RGBrgb(77, 53, 127)
HSLhsl(259, 41%, 35%)
HSVhsv(259, 58%, 50%)
CMYKcmyk(39.4%, 58.3%, 0%, 50.2%)
CIE-LABlab(28.53, 28.67, -38.30)
CIE-LCHlch(28.53, 47.84, 306.82°)
OKLaboklab(39.59% 0.0514 -0.1087)
OKLCHoklch(39.59% 0.12 295.3)
XYZxyz(8.1634, 5.6561, 20.7362)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D357F #677F35
analogous
#35427F #4D357F #72357F
triadic
#4D357F #7F4D35 #357F4D
tetradic
#4D357F #7F3542 #677F35 #357F72
square
#4D357F #7F3542 #677F35 #357F72
split-complementary
#4D357F #7F7235 #427F35
monochromatic
#191129 #332354 #4D357F #6747AA #886DC2

Accessibility & contrast

On white

9.85
#4D357F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4D357F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D357F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D357F#FFFFFF#000000##FFFFFF
##4D357F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104481
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#414454
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d357f;
/* rgb */ color: rgb(77, 53, 127);
/* oklch */ color: oklch(39.6% 0.120 295.3);
Tailwind
colors: {
  custom: {
    50: '#826da5',
    500: '#4d357f',
    950: '#000000',
  },
}
SCSS
$custom: #4d357f;
$custom-light: #826da5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d357f",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 127
  },
  "hsl": {
    "h": 259.459,
    "s": 41.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.12026,
    "h": 295.3
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#4D357F
secondary
#94AA66
accent
#D157A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D357F

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

Preview Lab → · Contrast checker → · Palette generator →

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