#4D3F92#4D3F92

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

Color values

HEX#4D3F92
RGBrgb(77, 63, 146)
HSLhsl(250, 40%, 41%)
HSVhsv(250, 57%, 57%)
CMYKcmyk(47.3%, 56.8%, 0%, 42.7%)
CIE-LABlab(32.28, 28.16, -44.03)
CIE-LCHlch(32.28, 52.26, 302.60°)
OKLaboklab(42.78% 0.0389 -0.1255)
OKLCHoklch(42.78% 0.131 287.2)
XYZxyz(10.0249, 7.2077, 28.0516)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3F92 #84923F
analogous
#3F5A92 #4D3F92 #763F92
triadic
#4D3F92 #924D3F #3F924D
tetradic
#4D3F92 #923F5A #84923F #3F9276
square
#4D3F92 #923F5A #84923F #3F9276
split-complementary
#4D3F92 #92763F #5A923F
monochromatic
#201A3C #362D67 #4D3F92 #6857B7 #8E82C9

Accessibility & contrast

On white

8.60
#4D3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3F92
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3F92#FFFFFF#000000##FFFFFF
##4D3F921.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#0E4A90
Tritanopia (blue-blind)
#375162
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d3f92;
/* rgb */ color: rgb(77, 63, 146);
/* oklch */ color: oklch(42.8% 0.131 287.2);
Tailwind
colors: {
  custom: {
    50: '#8474b2',
    500: '#4d3f92',
    950: '#000000',
  },
}
SCSS
$custom: #4d3f92;
$custom-light: #8474b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3f92",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 250.12,
    "s": 39.713,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42775,
    "c": 0.13143,
    "h": 287.2
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D3F92

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

Preview Lab → · Contrast checker → · Palette generator →

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