#4D359A#4D359A

#4D359A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.7% C 0.156 H 288.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4D359A
RGBrgb(77, 53, 154)
HSLhsl(254, 49%, 41%)
HSVhsv(254, 66%, 60%)
CMYKcmyk(50%, 65.6%, 0%, 39.6%)
CIE-LABlab(30.54, 36.74, -51.73)
CIE-LCHlch(30.54, 63.45, 305.39°)
OKLaboklab(41.69% 0.05 -0.1482)
OKLCHoklch(41.69% 0.156 288.7)
XYZxyz(10.1647, 6.4566, 31.2763)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D359A #829A35
analogous
#35509A #4D359A #7F359A
triadic
#4D359A #9A4D35 #359A4D
tetradic
#4D359A #9A3550 #829A35 #359A7F
square
#4D359A #9A3550 #829A35 #359A7F
split-complementary
#4D359A #9A7F35 #509A35
monochromatic
#1F163F #36256C #4D359A #674BC1 #8E79D1

Accessibility & contrast

On white

9.16
#4D359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4D359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D359A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D359A#FFFFFF#000000##FFFFFF
##4D359A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#334D62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d359a;
/* rgb */ color: rgb(77, 53, 154);
/* oklch */ color: oklch(41.7% 0.156 288.7);
Tailwind
colors: {
  custom: {
    50: '#866eb9',
    500: '#4d359a',
    950: '#000000',
  },
}
SCSS
$custom: #4d359a;
$custom-light: #866eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d359a",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 254.257,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41691,
    "c": 0.15642,
    "h": 288.7
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#4D359A
secondary
#A8B971
accent
#D84FB8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4D359A

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

Preview Lab → · Contrast checker → · Palette generator →

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