#4D3E95#4D3E95

#4D3E95 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.8% C 0.137 H 287.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4D3E95
RGBrgb(77, 62, 149)
HSLhsl(250, 41%, 41%)
HSVhsv(250, 58%, 58%)
CMYKcmyk(48.3%, 58.4%, 0%, 41.6%)
CIE-LABlab(32.24, 29.72, -45.92)
CIE-LCHlch(32.24, 54.69, 302.91°)
OKLaboklab(42.82% 0.0402 -0.1311)
OKLCHoklch(42.82% 0.137 287)
XYZxyz(10.2064, 7.1925, 29.2785)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3E95 #86953E
analogous
#3E5B95 #4D3E95 #793E95
triadic
#4D3E95 #954D3E #3E954D
tetradic
#4D3E95 #953E5B #86953E #3E9579
square
#4D3E95 #953E5B #86953E #3E9579
split-complementary
#4D3E95 #95793E #5B953E
monochromatic
#201A3F #372C6A #4D3E95 #6857B9 #8F82CB

Accessibility & contrast

On white

8.61
#4D3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4D3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3E95
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3E95#FFFFFF#000000##FFFFFF
##4D3E951.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014E98
Deuteranopia (green-blind)
#014993
Tritanopia (blue-blind)
#355263
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d3e95;
/* rgb */ color: rgb(77, 62, 149);
/* oklch */ color: oklch(42.8% 0.137 287.0);
Tailwind
colors: {
  custom: {
    50: '#8474b5',
    500: '#4d3e95',
    950: '#000000',
  },
}
SCSS
$custom: #4d3e95;
$custom-light: #8474b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3e95",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 250.345,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.1371,
    "h": 287
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#4D3E95
secondary
#ABB57A
accent
#D157BC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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