#4D359B#4D359B

#4D359B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.158 H 288.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4D359B
RGBrgb(77, 53, 155)
HSLhsl(254, 49%, 41%)
HSVhsv(254, 66%, 61%)
CMYKcmyk(50.3%, 65.8%, 0%, 39.2%)
CIE-LABlab(30.62, 37.05, -52.20)
CIE-LCHlch(30.62, 64.01, 305.36°)
OKLaboklab(41.77% 0.0499 -0.1496)
OKLCHoklch(41.77% 0.158 288.5)
XYZxyz(10.2484, 6.4901, 31.7167)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D359B #839B35
analogous
#35509B #4D359B #80359B
triadic
#4D359B #9B4D35 #359B4D
tetradic
#4D359B #9B3550 #839B35 #359B80
square
#4D359B #9B3550 #839B35 #359B80
split-complementary
#4D359B #9B8035 #509B35
monochromatic
#201640 #36256D #4D359B #674CC2 #8E79D1

Accessibility & contrast

On white

9.14
#4D359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4D359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D359B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D359B#FFFFFF#000000##FFFFFF
##4D359B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#324E63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d359b;
/* rgb */ color: rgb(77, 53, 155);
/* oklch */ color: oklch(41.8% 0.158 288.5);
Tailwind
colors: {
  custom: {
    50: '#866eb9',
    500: '#4d359b',
    950: '#000000',
  },
}
SCSS
$custom: #4d359b;
$custom-light: #866eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d359b",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 254.118,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41774,
    "c": 0.15771,
    "h": 288.5
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#4D359B
secondary
#A9BA72
accent
#D94FB8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D359B

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

Preview Lab → · Contrast checker → · Palette generator →

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