#4D35B9#4D35B9

#4D35B9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.195 H 283.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4D35B9
RGBrgb(77, 53, 185)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 73%)
CMYKcmyk(58.4%, 71.4%, 0%, 27.5%)
CIE-LABlab(33.19, 46.16, -65.99)
CIE-LCHlch(33.19, 80.53, 304.98°)
OKLaboklab(44.42% 0.0451 -0.19)
OKLCHoklch(44.42% 0.195 283.4)
XYZxyz(13.0879, 7.6259, 46.6718)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35B9 #A1B935
analogous
#355FB9 #4D35B9 #8F35B9
triadic
#4D35B9 #B94D35 #35B94D
tetradic
#4D35B9 #B9355F #A1B935 #35B98F
square
#4D35B9 #B9355F #A1B935 #35B98F
split-complementary
#4D35B9 #B98F35 #5FB935
monochromatic
#251A5A #392789 #4D35B9 #705BD0 #9A8BDE

Accessibility & contrast

On white

8.32
#4D35B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D35B9
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35B9#FFFFFF#000000##FFFFFF
##4D35B91.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#0C5973
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d35b9;
/* rgb */ color: rgb(77, 53, 185);
/* oklch */ color: oklch(44.4% 0.195 283.4);
Tailwind
colors: {
  custom: {
    50: '#8b6fcf',
    500: '#4d35b9',
    950: '#000000',
  },
}
SCSS
$custom: #4d35b9;
$custom-light: #8b6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35b9",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 250.909,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44417,
    "c": 0.19533,
    "h": 283.4
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#4D35B9
secondary
#BBC882
accent
#DF49C4
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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