#4C35BF#4C35BF

#4C35BF is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.203 H 282.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4C35BF
RGBrgb(76, 53, 191)
HSLhsl(250, 57%, 48%)
HSVhsv(250, 72%, 75%)
CMYKcmyk(60.2%, 72.3%, 0%, 25.1%)
CIE-LABlab(33.65, 47.84, -68.77)
CIE-LCHlch(33.65, 83.77, 304.83°)
OKLaboklab(44.89% 0.0425 -0.1982)
OKLCHoklch(44.89% 0.203 282.1)
XYZxyz(13.6546, 7.8433, 50.0745)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C35BF #A8BF35
analogous
#3563BF #4C35BF #9135BF
triadic
#4C35BF #BF4C35 #35BF4C
tetradic
#4C35BF #BF3563 #A8BF35 #35BF91
square
#4C35BF #BF3563 #A8BF35 #35BF91
split-complementary
#4C35BF #BF9135 #63BF35
monochromatic
#261A5F #39288F #4C35BF #725FD3 #9C8FE0

Accessibility & contrast

On white

8.18
#4C35BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4C35BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C35BF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C35BF#FFFFFF#000000##FFFFFF
##4C35BF1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c35bf;
/* rgb */ color: rgb(76, 53, 191);
/* oklch */ color: oklch(44.9% 0.203 282.1);
Tailwind
colors: {
  custom: {
    50: '#8b6fd3',
    500: '#4c35bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c35bf;
$custom-light: #8b6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c35bf",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 250,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44892,
    "c": 0.20272,
    "h": 282.1
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#4C35BF
secondary
#BFCA85
accent
#E048C7
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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