#4D3D95#4D3D95

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

Color values

HEX#4D3D95
RGBrgb(77, 61, 149)
HSLhsl(251, 42%, 41%)
HSVhsv(251, 59%, 58%)
CMYKcmyk(48.3%, 59.1%, 0%, 41.6%)
CIE-LABlab(32.00, 30.34, -46.31)
CIE-LCHlch(32.00, 55.36, 303.24°)
OKLaboklab(42.64% 0.0414 -0.1322)
OKLCHoklch(42.64% 0.139 287.4)
XYZxyz(10.1526, 7.0848, 29.2605)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3D95 #85953D
analogous
#3D5995 #4D3D95 #793D95
triadic
#4D3D95 #954D3D #3D954D
tetradic
#4D3D95 #953D59 #85953D #3D9579
square
#4D3D95 #953D59 #85953D #3D9579
split-complementary
#4D3D95 #95793D #59953D
monochromatic
#20193E #372B6A #4D3D95 #6856BA #8F81CB

Accessibility & contrast

On white

8.69
#4D3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3D95
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3D95#FFFFFF#000000##FFFFFF
##4D3D951.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#355163
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d3d95;
/* rgb */ color: rgb(77, 61, 149);
/* oklch */ color: oklch(42.6% 0.139 287.4);
Tailwind
colors: {
  custom: {
    50: '#8473b5',
    500: '#4d3d95',
    950: '#000000',
  },
}
SCSS
$custom: #4d3d95;
$custom-light: #8473b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3d95",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 250.909,
    "s": 41.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.13855,
    "h": 287.4
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#4D3D95
secondary
#AAB578
accent
#D256BB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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