#4D35C0#4D35C0

#4D35C0 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.204 H 282.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4D35C0
RGBrgb(77, 53, 192)
HSLhsl(250, 57%, 48%)
HSVhsv(250, 72%, 75%)
CMYKcmyk(59.9%, 72.4%, 0%, 24.7%)
CIE-LABlab(33.83, 48.28, -69.06)
CIE-LCHlch(33.83, 84.26, 304.96°)
OKLaboklab(45.07% 0.0437 -0.199)
OKLCHoklch(45.07% 0.204 282.4)
XYZxyz(13.8451, 7.9288, 50.6598)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35C0 #A8C035
analogous
#3562C0 #4D35C0 #9335C0
triadic
#4D35C0 #C04D35 #35C04D
tetradic
#4D35C0 #C03562 #A8C035 #35C093
square
#4D35C0 #C03562 #A8C035 #35C093
split-complementary
#4D35C0 #C09335 #62C035
monochromatic
#271B60 #3A2890 #4D35C0 #735FD3 #9D8FE0

Accessibility & contrast

On white

8.12
#4D35C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D35C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35C0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35C0#FFFFFF#000000##FFFFFF
##4D35C01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d35c0;
/* rgb */ color: rgb(77, 53, 192);
/* oklch */ color: oklch(45.1% 0.204 282.4);
Tailwind
colors: {
  custom: {
    50: '#8c6fd4',
    500: '#4d35c0',
    950: '#000000',
  },
}
SCSS
$custom: #4d35c0;
$custom-light: #8c6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35c0",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 250.36,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.20377,
    "h": 282.4
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#4D35C0
secondary
#BFCB86
accent
#E048C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D35C0

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

Preview Lab → · Contrast checker → · Palette generator →

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