#4C35BB#4C35BB

#4C35BB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.198 H 282.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4C35BB
RGBrgb(76, 53, 187)
HSLhsl(250, 56%, 47%)
HSVhsv(250, 72%, 73%)
CMYKcmyk(59.4%, 71.7%, 0%, 26.7%)
CIE-LABlab(33.29, 46.63, -67.02)
CIE-LCHlch(33.29, 81.64, 304.83°)
OKLaboklab(44.52% 0.0433 -0.1931)
OKLCHoklch(44.52% 0.198 282.7)
XYZxyz(13.2205, 7.6697, 47.7878)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C35BB #A4BB35
analogous
#3561BB #4C35BB #8F35BB
triadic
#4C35BB #BB4C35 #35BB4C
tetradic
#4C35BB #BB3561 #A4BB35 #35BB8F
square
#4C35BB #BB3561 #A4BB35 #35BB8F
split-complementary
#4C35BB #BB8F35 #61BB35
monochromatic
#251A5C #39278B #4C35BB #705CD1 #9A8CDE

Accessibility & contrast

On white

8.29
#4C35BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4C35BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C35BB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C35BB#FFFFFF#000000##FFFFFF
##4C35BB1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c35bb;
/* rgb */ color: rgb(76, 53, 187);
/* oklch */ color: oklch(44.5% 0.198 282.7);
Tailwind
colors: {
  custom: {
    50: '#8a6fd1',
    500: '#4c35bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c35bb;
$custom-light: #8a6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c35bb",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 250.299,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.19789,
    "h": 282.7
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#4C35BB
secondary
#BDC983
accent
#DF49C5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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