#4C35A2#4C35A2

#4C35A2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.167 H 286.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4C35A2
RGBrgb(76, 53, 162)
HSLhsl(253, 51%, 42%)
HSVhsv(253, 67%, 64%)
CMYKcmyk(53.1%, 67.3%, 0%, 36.5%)
CIE-LABlab(31.09, 38.99, -55.68)
CIE-LCHlch(31.09, 67.97, 305.00°)
OKLaboklab(42.27% 0.0476 -0.1598)
OKLCHoklch(42.27% 0.167 286.6)
XYZxyz(10.7732, 6.6908, 34.8992)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C35A2 #8BA235
analogous
#3554A2 #4C35A2 #8335A2
triadic
#4C35A2 #A24C35 #35A24C
tetradic
#4C35A2 #A23554 #8BA235 #35A283
square
#4C35A2 #A23554 #8BA235 #35A283
split-complementary
#4C35A2 #A28335 #54A235
monochromatic
#211746 #362674 #4C35A2 #684FC5 #8F7DD4

Accessibility & contrast

On white

8.98
#4C35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4C35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C35A2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C35A2#FFFFFF#000000##FFFFFF
##4C35A21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#2A5067
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c35a2;
/* rgb */ color: rgb(76, 53, 162);
/* oklch */ color: oklch(42.3% 0.167 286.6);
Tailwind
colors: {
  custom: {
    50: '#866ebe',
    500: '#4c35a2',
    950: '#000000',
  },
}
SCSS
$custom: #4c35a2;
$custom-light: #866ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#4c35a2",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 252.661,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.16679,
    "h": 286.6
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#4C35A2
secondary
#AEBD75
accent
#DA4EBD
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4C35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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