#4D3E92#4D3E92

#4D3E92 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.6% C 0.133 H 287.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4D3E92
RGBrgb(77, 62, 146)
HSLhsl(251, 40%, 41%)
HSVhsv(251, 58%, 57%)
CMYKcmyk(47.3%, 57.5%, 0%, 42.7%)
CIE-LABlab(32.03, 28.79, -44.43)
CIE-LCHlch(32.03, 52.94, 302.94°)
OKLaboklab(42.59% 0.0402 -0.1267)
OKLCHoklch(42.59% 0.133 287.6)
XYZxyz(9.9700, 7.0979, 28.0333)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3E92 #83923E
analogous
#3E5992 #4D3E92 #773E92
triadic
#4D3E92 #924D3E #3E924D
tetradic
#4D3E92 #923E59 #83923E #3E9277
square
#4D3E92 #923E59 #83923E #3E9277
split-complementary
#4D3E92 #92773E #59923E
monochromatic
#201A3C #362C67 #4D3E92 #6756B7 #8E81C9

Accessibility & contrast

On white

8.68
#4D3E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4D3E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3E92
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3E92#FFFFFF#000000##FFFFFF
##4D3E921.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4D95
Deuteranopia (green-blind)
#0B4990
Tritanopia (blue-blind)
#375162
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d3e92;
/* rgb */ color: rgb(77, 62, 146);
/* oklch */ color: oklch(42.6% 0.133 287.6);
Tailwind
colors: {
  custom: {
    50: '#8474b2',
    500: '#4d3e92',
    950: '#000000',
  },
}
SCSS
$custom: #4d3e92;
$custom-light: #8474b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3e92",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 146
  },
  "hsl": {
    "h": 250.714,
    "s": 40.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.13292,
    "h": 287.6
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#4D3E92
secondary
#A9B478
accent
#D058BB
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D3E92

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

Preview Lab → · Contrast checker → · Palette generator →

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