#4C35AA#4C35AA

#4C35AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.177 H 285.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4C35AA
RGBrgb(76, 53, 170)
HSLhsl(252, 52%, 44%)
HSVhsv(252, 69%, 67%)
CMYKcmyk(55.3%, 68.8%, 0%, 33.3%)
CIE-LABlab(31.77, 41.44, -59.38)
CIE-LCHlch(31.77, 72.41, 304.91°)
OKLaboklab(42.97% 0.0464 -0.1707)
OKLCHoklch(42.97% 0.177 285.2)
XYZxyz(11.5071, 6.9843, 38.7642)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C35AA #93AA35
analogous
#3558AA #4C35AA #8635AA
triadic
#4C35AA #AA4C35 #35AA4C
tetradic
#4C35AA #AA3558 #93AA35 #35AA86
square
#4C35AA #AA3558 #93AA35 #35AA86
split-complementary
#4C35AA #AA8635 #58AA35
monochromatic
#22184D #37267B #4C35AA #6A53C9 #9282D8

Accessibility & contrast

On white

8.76
#4C35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4C35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C35AA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C35AA#FFFFFF#000000##FFFFFF
##4C35AA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#22536B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c35aa;
/* rgb */ color: rgb(76, 53, 170);
/* oklch */ color: oklch(43.0% 0.177 285.2);
Tailwind
colors: {
  custom: {
    50: '#886ec4',
    500: '#4c35aa',
    950: '#000000',
  },
}
SCSS
$custom: #4c35aa;
$custom-light: #886ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c35aa",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 251.795,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.17693,
    "h": 285.2
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#4C35AA
secondary
#B3C17A
accent
#DC4CC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4C35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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