#4D35B7#4D35B7

#4D35B7 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.193 H 283.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4D35B7
RGBrgb(77, 53, 183)
HSLhsl(251, 55%, 46%)
HSVhsv(251, 71%, 72%)
CMYKcmyk(57.9%, 71%, 0%, 28.2%)
CIE-LABlab(33.01, 45.56, -65.10)
CIE-LCHlch(33.01, 79.46, 304.99°)
OKLaboklab(44.23% 0.0455 -0.1874)
OKLCHoklch(44.23% 0.193 283.7)
XYZxyz(12.8783, 7.5421, 45.5677)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35B7 #9FB735
analogous
#355EB7 #4D35B7 #8E35B7
triadic
#4D35B7 #B74D35 #35B74D
tetradic
#4D35B7 #B7355E #9FB735 #35B78E
square
#4D35B7 #B7355E #9FB735 #35B78E
split-complementary
#4D35B7 #B78E35 #5EB735
monochromatic
#251A58 #392788 #4D35B7 #705ACF #9989DD

Accessibility & contrast

On white

8.37
#4D35B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D35B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35B7
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35B7#FFFFFF#000000##FFFFFF
##4D35B71.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#115872
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d35b7;
/* rgb */ color: rgb(77, 53, 183);
/* oklch */ color: oklch(44.2% 0.193 283.7);
Tailwind
colors: {
  custom: {
    50: '#8a6fce',
    500: '#4d35b7',
    950: '#000000',
  },
}
SCSS
$custom: #4d35b7;
$custom-light: #8a6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35b7",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 251.077,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44233,
    "c": 0.19289,
    "h": 283.7
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#4D35B7
secondary
#BAC781
accent
#DE49C3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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