#4D3D92#4D3D92

#4D3D92 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.4% C 0.134 H 287.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4D3D92
RGBrgb(77, 61, 146)
HSLhsl(251, 41%, 41%)
HSVhsv(251, 58%, 57%)
CMYKcmyk(47.3%, 58.2%, 0%, 42.7%)
CIE-LABlab(31.78, 29.41, -44.82)
CIE-LCHlch(31.78, 53.61, 303.27°)
OKLaboklab(42.41% 0.0414 -0.1279)
OKLCHoklch(42.41% 0.134 287.9)
XYZxyz(9.9161, 6.9902, 28.0153)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3D92 #82923D
analogous
#3D5792 #4D3D92 #773D92
triadic
#4D3D92 #924D3D #3D924D
tetradic
#4D3D92 #923D57 #82923D #3D9277
square
#4D3D92 #923D57 #82923D #3D9277
split-complementary
#4D3D92 #92773D #57923D
monochromatic
#1F193C #362B67 #4D3D92 #6754B8 #8E80CA

Accessibility & contrast

On white

8.76
#4D3D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4D3D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3D92
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3D92#FFFFFF#000000##FFFFFF
##4D3D921.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054D95
Deuteranopia (green-blind)
#064990
Tritanopia (blue-blind)
#375061
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d3d92;
/* rgb */ color: rgb(77, 61, 146);
/* oklch */ color: oklch(42.4% 0.134 287.9);
Tailwind
colors: {
  custom: {
    50: '#8473b3',
    500: '#4d3d92',
    950: '#000000',
  },
}
SCSS
$custom: #4d3d92;
$custom-light: #8473b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3d92",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 146
  },
  "hsl": {
    "h": 251.294,
    "s": 41.063,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.1344,
    "h": 287.9
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#4D3D92
secondary
#A8B477
accent
#D157BA
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D3D92

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

Preview Lab → · Contrast checker → · Palette generator →

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