#4D35C6#4D35C6

#4D35C6 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.6% C 0.211 H 281.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4D35C6
RGBrgb(77, 53, 198)
HSLhsl(250, 58%, 49%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(61.1%, 73.2%, 0%, 22.4%)
CIE-LABlab(34.40, 50.08, -71.65)
CIE-LCHlch(34.40, 87.42, 304.95°)
OKLaboklab(45.64% 0.0424 -0.2066)
OKLCHoklch(45.64% 0.211 281.6)
XYZxyz(14.5235, 8.2002, 54.2326)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35C6 #AEC635
analogous
#3566C6 #4D35C6 #9635C6
triadic
#4D35C6 #C64D35 #35C64D
tetradic
#4D35C6 #C63566 #AEC635 #35C696
square
#4D35C6 #C63566 #AEC635 #35C696
split-complementary
#4D35C6 #C69635 #66C635
monochromatic
#271B65 #3A2896 #4D35C6 #7663D5 #A093E2

Accessibility & contrast

On white

7.95
#4D35C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4D35C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35C6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35C6#FFFFFF#000000##FFFFFF
##4D35C61.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d35c6;
/* rgb */ color: rgb(77, 53, 198);
/* oklch */ color: oklch(45.6% 0.211 281.6);
Tailwind
colors: {
  custom: {
    50: '#8d6fd9',
    500: '#4d35c6',
    950: '#000000',
  },
}
SCSS
$custom: #4d35c6;
$custom-light: #8d6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35c6",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 249.931,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45638,
    "c": 0.21092,
    "h": 281.6
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#4D35C6
secondary
#C2CD8A
accent
#E147C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D35C6

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

Preview Lab → · Contrast checker → · Palette generator →

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