#4C358D#4C358D

#4C358D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.139 H 290.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4C358D
RGBrgb(76, 53, 141)
HSLhsl(256, 45%, 38%)
HSVhsv(256, 62%, 55%)
CMYKcmyk(46.1%, 62.4%, 0%, 44.7%)
CIE-LABlab(29.43, 32.60, -45.56)
CIE-LCHlch(29.43, 56.02, 305.58°)
OKLaboklab(40.54% 0.0497 -0.1301)
OKLCHoklch(40.54% 0.139 290.9)
XYZxyz(9.0600, 6.0055, 25.8760)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C358D #768D35
analogous
#354A8D #4C358D #78358D
triadic
#4C358D #8D4C35 #358D4C
tetradic
#4C358D #8D354A #768D35 #358D78
square
#4C358D #8D354A #768D35 #358D78
split-complementary
#4C358D #8D7835 #4A8D35
monochromatic
#1C1434 #342461 #4C358D #6446B9 #8972CA

Accessibility & contrast

On white

9.54
#4C358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4C358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C358D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C358D#FFFFFF#000000##FFFFFF
##4C358D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#39495C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c358d;
/* rgb */ color: rgb(76, 53, 141);
/* oklch */ color: oklch(40.5% 0.139 290.9);
Tailwind
colors: {
  custom: {
    50: '#836daf',
    500: '#4c358d',
    950: '#000000',
  },
}
SCSS
$custom: #4c358d;
$custom-light: #836daf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c358d",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 255.682,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40541,
    "c": 0.13927,
    "h": 290.9
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#4C358D
secondary
#A0B26B
accent
#D553B3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4C358D

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

Preview Lab → · Contrast checker → · Palette generator →

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