#4D35B4#4D35B4

#4D35B4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.189 H 284.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4D35B4
RGBrgb(77, 53, 180)
HSLhsl(251, 55%, 46%)
HSVhsv(251, 71%, 71%)
CMYKcmyk(57.2%, 70.6%, 0%, 29.4%)
CIE-LABlab(32.74, 44.65, -63.76)
CIE-LCHlch(32.74, 77.84, 305.00°)
OKLaboklab(43.96% 0.0461 -0.1835)
OKLCHoklch(43.96% 0.189 284.1)
XYZxyz(12.5694, 7.4185, 43.9407)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35B4 #9CB435
analogous
#355CB4 #4D35B4 #8C35B4
triadic
#4D35B4 #B44D35 #35B44D
tetradic
#4D35B4 #B4355C #9CB435 #35B48C
square
#4D35B4 #B4355C #9CB435 #35B48C
split-complementary
#4D35B4 #B48C35 #5CB435
monochromatic
#251955 #392785 #4D35B4 #6F58CE #9788DC

Accessibility & contrast

On white

8.45
#4D35B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D35B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35B4
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35B4#FFFFFF#000000##FFFFFF
##4D35B41.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#175771
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d35b4;
/* rgb */ color: rgb(77, 53, 180);
/* oklch */ color: oklch(44.0% 0.189 284.1);
Tailwind
colors: {
  custom: {
    50: '#8a6ecc',
    500: '#4d35b4',
    950: '#000000',
  },
}
SCSS
$custom: #4d35b4;
$custom-light: #8a6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35b4",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 251.339,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43958,
    "c": 0.18922,
    "h": 284.1
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#4D35B4
secondary
#B8C67F
accent
#DE4AC2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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