#4C357E#4C357E

#4C357E is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.4% C 0.119 H 294.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4C357E
RGBrgb(76, 53, 126)
HSLhsl(259, 41%, 35%)
HSVhsv(259, 58%, 49%)
CMYKcmyk(39.7%, 57.9%, 0%, 50.6%)
CIE-LABlab(28.35, 28.12, -37.96)
CIE-LCHlch(28.35, 47.24, 306.54°)
OKLaboklab(39.41% 0.05 -0.1077)
OKLCHoklch(39.41% 0.119 294.9)
XYZxyz(8.0185, 5.5889, 20.3909)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C357E #677E35
analogous
#35437E #4C357E #70357E
triadic
#4C357E #7E4C35 #357E4C
tetradic
#4C357E #7E3543 #677E35 #357E70
square
#4C357E #7E3543 #677E35 #357E70
split-complementary
#4C357E #7E7035 #437E35
monochromatic
#181128 #322353 #4C357E #6647A9 #876CC1

Accessibility & contrast

On white

9.92
#4C357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4C357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C357E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C357E#FFFFFF#000000##FFFFFF
##4C357E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114480
Deuteranopia (green-blind)
#19427C
Tritanopia (blue-blind)
#404454
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c357e;
/* rgb */ color: rgb(76, 53, 126);
/* oklch */ color: oklch(39.4% 0.119 294.9);
Tailwind
colors: {
  custom: {
    50: '#816da4',
    500: '#4c357e',
    950: '#000000',
  },
}
SCSS
$custom: #4c357e;
$custom-light: #816da4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c357e",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 258.904,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.11879,
    "h": 294.9
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#4C357E
secondary
#94AA65
accent
#D157AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4C357E

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

Preview Lab → · Contrast checker → · Palette generator →

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