#4D35AB#4D35AB

#4D35AB is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.1% C 0.178 H 285.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4D35AB
RGBrgb(77, 53, 171)
HSLhsl(252, 53%, 44%)
HSVhsv(252, 69%, 67%)
CMYKcmyk(55%, 69%, 0%, 32.9%)
CIE-LABlab(31.95, 41.91, -59.69)
CIE-LCHlch(31.95, 72.93, 305.08°)
OKLaboklab(43.15% 0.0477 -0.1716)
OKLCHoklch(43.15% 0.178 285.5)
XYZxyz(11.6821, 7.0636, 39.2680)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35AB #93AB35
analogous
#3558AB #4D35AB #8835AB
triadic
#4D35AB #AB4D35 #35AB4D
tetradic
#4D35AB #AB3558 #93AB35 #35AB88
square
#4D35AB #AB3558 #93AB35 #35AB88
split-complementary
#4D35AB #AB8835 #58AB35
monochromatic
#23184E #38277C #4D35AB #6B53CA #9482D8

Accessibility & contrast

On white

8.70
#4D35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4D35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35AB
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35AB#FFFFFF#000000##FFFFFF
##4D35AB1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#24536C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d35ab;
/* rgb */ color: rgb(77, 53, 171);
/* oklch */ color: oklch(43.1% 0.178 285.5);
Tailwind
colors: {
  custom: {
    50: '#886ec5',
    500: '#4d35ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d35ab;
$custom-light: #886ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35ab",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 252.203,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4315,
    "c": 0.17808,
    "h": 285.5
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#4D35AB
secondary
#B3C27A
accent
#DC4CBF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4D35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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