#4D359D#4D359D

#4D359D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.9% C 0.160 H 288.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#4D359D
RGBrgb(77, 53, 157)
HSLhsl(254, 50%, 41%)
HSVhsv(254, 66%, 62%)
CMYKcmyk(51%, 66.2%, 0%, 38.4%)
CIE-LABlab(30.78, 37.65, -53.16)
CIE-LCHlch(30.78, 65.14, 305.31°)
OKLaboklab(41.94% 0.0497 -0.1524)
OKLCHoklch(41.94% 0.16 288.1)
XYZxyz(10.4177, 6.5578, 32.6086)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D359D #859D35
analogous
#35519D #4D359D #81359D
triadic
#4D359D #9D4D35 #359D4D
tetradic
#4D359D #9D3551 #859D35 #359D81
square
#4D359D #9D3551 #859D35 #359D81
split-complementary
#4D359D #9D8135 #519D35
monochromatic
#201641 #37266F #4D359D #684CC3 #8F7AD2

Accessibility & contrast

On white

9.08
#4D359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4D359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D359D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D359D#FFFFFF#000000##FFFFFF
##4D359D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#314E64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d359d;
/* rgb */ color: rgb(77, 53, 157);
/* oklch */ color: oklch(41.9% 0.160 288.1);
Tailwind
colors: {
  custom: {
    50: '#866ebb',
    500: '#4d359d',
    950: '#000000',
  },
}
SCSS
$custom: #4d359d;
$custom-light: #866ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d359d",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 253.846,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.1603,
    "h": 288.1
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#4D359D
secondary
#AABB73
accent
#D94FB9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D359D

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

Preview Lab → · Contrast checker → · Palette generator →

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