#4C35B3#4C35B3

#4C35B3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.188 H 283.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4C35B3
RGBrgb(76, 53, 179)
HSLhsl(251, 54%, 45%)
HSVhsv(251, 70%, 70%)
CMYKcmyk(57.5%, 70.4%, 0%, 29.8%)
CIE-LABlab(32.56, 44.19, -63.46)
CIE-LCHlch(32.56, 77.33, 304.85°)
OKLaboklab(43.78% 0.0449 -0.1827)
OKLCHoklch(43.78% 0.188 283.8)
XYZxyz(12.3878, 7.3366, 43.4024)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C35B3 #9CB335
analogous
#355DB3 #4C35B3 #8B35B3
triadic
#4C35B3 #B34C35 #35B34C
tetradic
#4C35B3 #B3355D #9CB335 #35B38B
square
#4C35B3 #B3355D #9CB335 #35B38B
split-complementary
#4C35B3 #B38B35 #5DB335
monochromatic
#241955 #382784 #4C35B3 #6D58CD #9687DB

Accessibility & contrast

On white

8.51
#4C35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4C35B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C35B3
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C35B3#FFFFFF#000000##FFFFFF
##4C35B31.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#155670
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c35b3;
/* rgb */ color: rgb(76, 53, 179);
/* oklch */ color: oklch(43.8% 0.188 283.8);
Tailwind
colors: {
  custom: {
    50: '#896ecb',
    500: '#4c35b3',
    950: '#000000',
  },
}
SCSS
$custom: #4c35b3;
$custom-light: #896ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c35b3",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 250.952,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4378,
    "c": 0.18812,
    "h": 283.8
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#4C35B3
secondary
#B8C57F
accent
#DE4AC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4C35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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