#4D359F#4D359F

#4D359F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.163 H 287.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4D359F
RGBrgb(77, 53, 159)
HSLhsl(254, 50%, 42%)
HSVhsv(254, 67%, 62%)
CMYKcmyk(51.6%, 66.7%, 0%, 37.6%)
CIE-LABlab(30.94, 38.26, -54.10)
CIE-LCHlch(30.94, 66.27, 305.27°)
OKLaboklab(42.11% 0.0495 -0.1552)
OKLCHoklch(42.11% 0.163 287.7)
XYZxyz(10.5898, 6.6267, 33.5153)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D359F #879F35
analogous
#35529F #4D359F #82359F
triadic
#4D359F #9F4D35 #359F4D
tetradic
#4D359F #9F3552 #879F35 #359F82
square
#4D359F #9F3552 #879F35 #359F82
split-complementary
#4D359F #9F8235 #529F35
monochromatic
#211643 #372671 #4D359F #684DC4 #8F7BD3

Accessibility & contrast

On white

9.03
#4D359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4D359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D359F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D359F#FFFFFF#000000##FFFFFF
##4D359F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#2F4F65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d359f;
/* rgb */ color: rgb(77, 53, 159);
/* oklch */ color: oklch(42.1% 0.163 287.7);
Tailwind
colors: {
  custom: {
    50: '#866ebc',
    500: '#4d359f',
    950: '#000000',
  },
}
SCSS
$custom: #4d359f;
$custom-light: #866ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d359f",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 253.585,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4211,
    "c": 0.16288,
    "h": 287.7
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#4D359F
secondary
#ACBC74
accent
#DA4EBA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D359F

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

Preview Lab → · Contrast checker → · Palette generator →

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