#4D35C5#4D35C5

#4D35C5 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.5% C 0.210 H 281.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4D35C5
RGBrgb(77, 53, 197)
HSLhsl(250, 58%, 49%)
HSVhsv(250, 73%, 77%)
CMYKcmyk(60.9%, 73.1%, 0%, 22.7%)
CIE-LABlab(34.30, 49.78, -71.22)
CIE-LCHlch(34.30, 86.89, 304.96°)
OKLaboklab(45.54% 0.0426 -0.2053)
OKLCHoklch(45.54% 0.21 281.7)
XYZxyz(14.4086, 8.1542, 53.6271)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35C5 #ADC535
analogous
#3565C5 #4D35C5 #9535C5
triadic
#4D35C5 #C54D35 #35C54D
tetradic
#4D35C5 #C53565 #ADC535 #35C595
square
#4D35C5 #C53565 #ADC535 #35C595
split-complementary
#4D35C5 #C59535 #65C535
monochromatic
#271B65 #3A2895 #4D35C5 #7562D5 #A093E2

Accessibility & contrast

On white

7.98
#4D35C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D35C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35C5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35C5#FFFFFF#000000##FFFFFF
##4D35C51.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004BC2
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d35c5;
/* rgb */ color: rgb(77, 53, 197);
/* oklch */ color: oklch(45.5% 0.210 281.7);
Tailwind
colors: {
  custom: {
    50: '#8d6fd8',
    500: '#4d35c5',
    950: '#000000',
  },
}
SCSS
$custom: #4d35c5;
$custom-light: #8d6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35c5",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 250,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.20973,
    "h": 281.7
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#4D35C5
secondary
#C2CD89
accent
#E147C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4D35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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