#4D35C1#4D35C1

#4D35C1 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.2% C 0.205 H 282.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4D35C1
RGBrgb(77, 53, 193)
HSLhsl(250, 57%, 48%)
HSVhsv(250, 73%, 76%)
CMYKcmyk(60.1%, 72.5%, 0%, 24.3%)
CIE-LABlab(33.93, 48.58, -69.49)
CIE-LCHlch(33.93, 84.79, 304.96°)
OKLaboklab(45.16% 0.0435 -0.2003)
OKLCHoklch(45.16% 0.205 282.3)
XYZxyz(13.9563, 7.9733, 51.2453)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35C1 #A9C135
analogous
#3563C1 #4D35C1 #9335C1
triadic
#4D35C1 #C14D35 #35C14D
tetradic
#4D35C1 #C13563 #A9C135 #35C193
square
#4D35C1 #C13563 #A9C135 #35C193
split-complementary
#4D35C1 #C19335 #63C135
monochromatic
#271B61 #3A2891 #4D35C1 #7460D3 #9E90E0

Accessibility & contrast

On white

8.09
#4D35C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D35C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35C1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35C1#FFFFFF#000000##FFFFFF
##4D35C11.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d35c1;
/* rgb */ color: rgb(77, 53, 193);
/* oklch */ color: oklch(45.2% 0.205 282.3);
Tailwind
colors: {
  custom: {
    50: '#8c6fd5',
    500: '#4d35c1',
    950: '#000000',
  },
}
SCSS
$custom: #4d35c1;
$custom-light: #8c6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35c1",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 250.286,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.20497,
    "h": 282.3
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#4D35C1
secondary
#BFCB87
accent
#E048C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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