#4D35B8#4D35B8

#4D35B8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.194 H 283.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4D35B8
RGBrgb(77, 53, 184)
HSLhsl(251, 55%, 46%)
HSVhsv(251, 71%, 72%)
CMYKcmyk(58.2%, 71.2%, 0%, 27.8%)
CIE-LABlab(33.10, 45.86, -65.54)
CIE-LCHlch(33.10, 79.99, 304.98°)
OKLaboklab(44.33% 0.0453 -0.1887)
OKLCHoklch(44.33% 0.194 283.5)
XYZxyz(12.9827, 7.5839, 46.1178)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35B8 #A0B835
analogous
#355FB8 #4D35B8 #8F35B8
triadic
#4D35B8 #B84D35 #35B84D
tetradic
#4D35B8 #B8355F #A0B835 #35B88F
square
#4D35B8 #B8355F #A0B835 #35B88F
split-complementary
#4D35B8 #B88F35 #5FB835
monochromatic
#251A59 #392788 #4D35B8 #705BD0 #998ADD

Accessibility & contrast

On white

8.34
#4D35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35B8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35B8#FFFFFF#000000##FFFFFF
##4D35B81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#0F5873
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d35b8;
/* rgb */ color: rgb(77, 53, 184);
/* oklch */ color: oklch(44.3% 0.194 283.5);
Tailwind
colors: {
  custom: {
    50: '#8a6fce',
    500: '#4d35b8',
    950: '#000000',
  },
}
SCSS
$custom: #4d35b8;
$custom-light: #8a6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35b8",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 250.992,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44325,
    "c": 0.19411,
    "h": 283.5
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#4D35B8
secondary
#BBC781
accent
#DF49C3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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