#4D35C7#4D35C7

#4D35C7 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.7% C 0.212 H 281.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4D35C7
RGBrgb(77, 53, 199)
HSLhsl(250, 58%, 49%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(61.3%, 73.4%, 0%, 22%)
CIE-LABlab(34.49, 50.38, -72.07)
CIE-LCHlch(34.49, 87.94, 304.96°)
OKLaboklab(45.73% 0.0422 -0.2079)
OKLCHoklch(45.73% 0.212 281.5)
XYZxyz(14.6392, 8.2465, 54.8420)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35C7 #AFC735
analogous
#3566C7 #4D35C7 #9635C7
triadic
#4D35C7 #C74D35 #35C74D
tetradic
#4D35C7 #C73566 #AFC735 #35C796
square
#4D35C7 #C73566 #AFC735 #35C796
split-complementary
#4D35C7 #C79635 #66C735
monochromatic
#281B66 #3A2897 #4D35C7 #7664D6 #A194E2

Accessibility & contrast

On white

7.93
#4D35C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4D35C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35C7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35C7#FFFFFF#000000##FFFFFF
##4D35C71.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d35c7;
/* rgb */ color: rgb(77, 53, 199);
/* oklch */ color: oklch(45.7% 0.212 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d6fd9',
    500: '#4d35c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d35c7;
$custom-light: #8d6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35c7",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 249.863,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.2121,
    "h": 281.5
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#4D35C7
secondary
#C3CE8A
accent
#E147C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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