#4C359B#4C359B

#4C359B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.158 H 287.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#4C359B
RGBrgb(76, 53, 155)
HSLhsl(254, 49%, 41%)
HSVhsv(254, 66%, 61%)
CMYKcmyk(51%, 65.8%, 0%, 39.2%)
CIE-LABlab(30.52, 36.85, -52.37)
CIE-LCHlch(30.52, 64.04, 305.13°)
OKLaboklab(41.68% 0.0485 -0.1501)
OKLCHoklch(41.68% 0.158 287.9)
XYZxyz(10.1683, 6.4488, 31.7130)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C359B #849B35
analogous
#35519B #4C359B #7F359B
triadic
#4C359B #9B4C35 #359B4C
tetradic
#4C359B #9B3551 #849B35 #359B7F
square
#4C359B #9B3551 #849B35 #359B7F
split-complementary
#4C359B #9B7F35 #519B35
monochromatic
#1F1640 #36256D #4C359B #664CC2 #8D79D1

Accessibility & contrast

On white

9.17
#4C359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4C359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C359B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C359B#FFFFFF#000000##FFFFFF
##4C359B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#304E63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c359b;
/* rgb */ color: rgb(76, 53, 155);
/* oklch */ color: oklch(41.7% 0.158 287.9);
Tailwind
colors: {
  custom: {
    50: '#856eb9',
    500: '#4c359b',
    950: '#000000',
  },
}
SCSS
$custom: #4c359b;
$custom-light: #856eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c359b",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 253.529,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.15776,
    "h": 287.9
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#4C359B
secondary
#AABA72
accent
#D94FBA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4C359B

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

Preview Lab → · Contrast checker → · Palette generator →

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