#4C35A8#4C35A8

#4C35A8 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.174 H 285.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4C35A8
RGBrgb(76, 53, 168)
HSLhsl(252, 52%, 43%)
HSVhsv(252, 68%, 66%)
CMYKcmyk(54.8%, 68.5%, 0%, 34.1%)
CIE-LABlab(31.60, 40.83, -58.47)
CIE-LCHlch(31.60, 71.31, 304.93°)
OKLaboklab(42.8% 0.0468 -0.168)
OKLCHoklch(42.8% 0.174 285.5)
XYZxyz(11.3194, 6.9092, 37.7754)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C35A8 #91A835
analogous
#3557A8 #4C35A8 #8535A8
triadic
#4C35A8 #A84C35 #35A84C
tetradic
#4C35A8 #A83557 #91A835 #35A885
square
#4C35A8 #A83557 #91A835 #35A885
split-complementary
#4C35A8 #A88535 #57A835
monochromatic
#22184B #372679 #4C35A8 #6A52C8 #9280D7

Accessibility & contrast

On white

8.82
#4C35A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4C35A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C35A8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C35A8#FFFFFF#000000##FFFFFF
##4C35A81.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#24526A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c35a8;
/* rgb */ color: rgb(76, 53, 168);
/* oklch */ color: oklch(42.8% 0.174 285.5);
Tailwind
colors: {
  custom: {
    50: '#876ec3',
    500: '#4c35a8',
    950: '#000000',
  },
}
SCSS
$custom: #4c35a8;
$custom-light: #876ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c35a8",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 252,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42795,
    "c": 0.17441,
    "h": 285.5
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#4C35A8
secondary
#B2C078
accent
#DB4CBF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4C35A8

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

Preview Lab → · Contrast checker → · Palette generator →

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