#4D35C3#4D35C3

#4D35C3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.4% C 0.207 H 282.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4D35C3
RGBrgb(77, 53, 195)
HSLhsl(250, 57%, 49%)
HSVhsv(250, 73%, 76%)
CMYKcmyk(60.5%, 72.8%, 0%, 23.5%)
CIE-LABlab(34.11, 49.18, -70.36)
CIE-LCHlch(34.11, 85.84, 304.96°)
OKLaboklab(45.35% 0.0431 -0.2028)
OKLCHoklch(45.35% 0.207 282)
XYZxyz(14.1809, 8.0631, 52.4282)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35C3 #ABC335
analogous
#3564C3 #4D35C3 #9435C3
triadic
#4D35C3 #C34D35 #35C34D
tetradic
#4D35C3 #C33564 #ABC335 #35C394
square
#4D35C3 #C33564 #ABC335 #35C394
split-complementary
#4D35C3 #C39435 #64C335
monochromatic
#271B63 #3A2893 #4D35C3 #7561D4 #9F91E1

Accessibility & contrast

On white

8.04
#4D35C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4D35C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35C3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35C3#FFFFFF#000000##FFFFFF
##4D35C31.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d35c3;
/* rgb */ color: rgb(77, 53, 195);
/* oklch */ color: oklch(45.4% 0.207 282.0);
Tailwind
colors: {
  custom: {
    50: '#8c6fd6',
    500: '#4d35c3',
    950: '#000000',
  },
}
SCSS
$custom: #4d35c3;
$custom-light: #8c6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35c3",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 250.141,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.20735,
    "h": 282
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#4D35C3
secondary
#C0CC88
accent
#E147C7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D35C3

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

Preview Lab → · Contrast checker → · Palette generator →

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