#4D35B5#4D35B5

#4D35B5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.190 H 284.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4D35B5
RGBrgb(77, 53, 181)
HSLhsl(251, 55%, 46%)
HSVhsv(251, 71%, 71%)
CMYKcmyk(57.5%, 70.7%, 0%, 29%)
CIE-LABlab(32.83, 44.95, -64.21)
CIE-LCHlch(32.83, 78.38, 305.00°)
OKLaboklab(44.05% 0.0459 -0.1848)
OKLCHoklch(44.05% 0.19 284)
XYZxyz(12.6716, 7.4594, 44.4792)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35B5 #9DB535
analogous
#355DB5 #4D35B5 #8D35B5
triadic
#4D35B5 #B54D35 #35B54D
tetradic
#4D35B5 #B5355D #9DB535 #35B58D
square
#4D35B5 #B5355D #9DB535 #35B58D
split-complementary
#4D35B5 #B58D35 #5DB535
monochromatic
#251956 #392786 #4D35B5 #6F59CE #9888DC

Accessibility & contrast

On white

8.43
#4D35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4D35B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35B5
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35B5#FFFFFF#000000##FFFFFF
##4D35B51.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#165771
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d35b5;
/* rgb */ color: rgb(77, 53, 181);
/* oklch */ color: oklch(44.0% 0.190 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a6ecc',
    500: '#4d35b5',
    950: '#000000',
  },
}
SCSS
$custom: #4d35b5;
$custom-light: #8a6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35b5",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 251.25,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4405,
    "c": 0.19045,
    "h": 284
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#4D35B5
secondary
#B9C680
accent
#DE4AC2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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