#4D35C9#4D35C9

#4D35C9 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.9% C 0.214 H 281.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4D35C9
RGBrgb(77, 53, 201)
HSLhsl(250, 58%, 50%)
HSVhsv(250, 74%, 79%)
CMYKcmyk(61.7%, 73.6%, 0%, 21.2%)
CIE-LABlab(34.68, 50.98, -72.93)
CIE-LCHlch(34.68, 88.98, 304.96°)
OKLaboklab(45.93% 0.0418 -0.2103)
OKLCHoklch(45.93% 0.214 281.2)
XYZxyz(14.8730, 8.3399, 56.0730)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35C9 #B1C935
analogous
#3567C9 #4D35C9 #9735C9
triadic
#4D35C9 #C94D35 #35C94D
tetradic
#4D35C9 #C93567 #B1C935 #35C997
square
#4D35C9 #C93567 #B1C935 #35C997
split-complementary
#4D35C9 #C99735 #67C935
monochromatic
#281B68 #3A2899 #4D35C9 #7765D6 #A295E3

Accessibility & contrast

On white

7.87
#4D35C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4D35C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35C9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35C9#FFFFFF#000000##FFFFFF
##4D35C91.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d35c9;
/* rgb */ color: rgb(77, 53, 201);
/* oklch */ color: oklch(45.9% 0.214 281.2);
Tailwind
colors: {
  custom: {
    50: '#8d6fdb',
    500: '#4d35c9',
    950: '#000000',
  },
}
SCSS
$custom: #4d35c9;
$custom-light: #8d6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35c9",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 249.73,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45926,
    "c": 0.21445,
    "h": 281.2
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#4D35C9
secondary
#C4CE8B
accent
#E146C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D35C9

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

Preview Lab → · Contrast checker → · Palette generator →

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