#4D359E#4D359E

#4D359E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.162 H 287.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4D359E
RGBrgb(77, 53, 158)
HSLhsl(254, 50%, 41%)
HSVhsv(254, 66%, 62%)
CMYKcmyk(51.3%, 66.5%, 0%, 38%)
CIE-LABlab(30.86, 37.96, -53.63)
CIE-LCHlch(30.86, 65.70, 305.29°)
OKLaboklab(42.03% 0.0496 -0.1538)
OKLCHoklch(42.03% 0.162 287.9)
XYZxyz(10.5034, 6.5921, 33.0601)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D359E #869E35
analogous
#35529E #4D359E #82359E
triadic
#4D359E #9E4D35 #359E4D
tetradic
#4D359E #9E3552 #869E35 #359E82
square
#4D359E #9E3552 #869E35 #359E82
split-complementary
#4D359E #9E8235 #529E35
monochromatic
#201642 #372670 #4D359E #684DC3 #8F7BD3

Accessibility & contrast

On white

9.06
#4D359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4D359E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D359E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D359E#FFFFFF#000000##FFFFFF
##4D359E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#304F65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d359e;
/* rgb */ color: rgb(77, 53, 158);
/* oklch */ color: oklch(42.0% 0.162 287.9);
Tailwind
colors: {
  custom: {
    50: '#866ebb',
    500: '#4d359e',
    950: '#000000',
  },
}
SCSS
$custom: #4d359e;
$custom-light: #866ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d359e",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 253.714,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42026,
    "c": 0.16159,
    "h": 287.9
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#4D359E
secondary
#ABBB73
accent
#D94FBA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D359E

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

Preview Lab → · Contrast checker → · Palette generator →

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