#4C357D#4C357D

#4C357D is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.3% C 0.117 H 295.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4C357D
RGBrgb(76, 53, 125)
HSLhsl(259, 40%, 35%)
HSVhsv(259, 58%, 49%)
CMYKcmyk(39.2%, 57.6%, 0%, 51%)
CIE-LABlab(28.28, 27.83, -37.44)
CIE-LCHlch(28.28, 46.65, 306.63°)
OKLaboklab(39.34% 0.05 -0.1062)
OKLCHoklch(39.34% 0.117 295.2)
XYZxyz(7.9543, 5.5632, 20.0528)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C357D #667D35
analogous
#35427D #4C357D #70357D
triadic
#4C357D #7D4C35 #357D4C
tetradic
#4C357D #7D3542 #667D35 #357D70
square
#4C357D #7D3542 #667D35 #357D70
split-complementary
#4C357D #7D7035 #427D35
monochromatic
#181127 #322352 #4C357D #6647A8 #876CC1

Accessibility & contrast

On white

9.94
#4C357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4C357D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C357D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C357D#FFFFFF#000000##FFFFFF
##4C357D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437F
Deuteranopia (green-blind)
#1A427B
Tritanopia (blue-blind)
#404453
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c357d;
/* rgb */ color: rgb(76, 53, 125);
/* oklch */ color: oklch(39.3% 0.117 295.2);
Tailwind
colors: {
  custom: {
    50: '#816da3',
    500: '#4c357d',
    950: '#000000',
  },
}
SCSS
$custom: #4c357d;
$custom-light: #816da3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c357d",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 259.167,
    "s": 40.449,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39337,
    "c": 0.1174,
    "h": 295.2
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#4C357D
secondary
#93A965
accent
#D057AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4C357D

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

Preview Lab → · Contrast checker → · Palette generator →

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