#4D3F93#4D3F93

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

Color values

HEX#4D3F93
RGBrgb(77, 63, 147)
HSLhsl(250, 40%, 41%)
HSVhsv(250, 57%, 58%)
CMYKcmyk(47.6%, 57.1%, 0%, 42.4%)
CIE-LABlab(32.34, 28.47, -44.53)
CIE-LCHlch(32.34, 52.85, 302.59°)
OKLaboklab(42.85% 0.039 -0.127)
OKLCHoklch(42.85% 0.133 287.1)
XYZxyz(10.1030, 7.2390, 28.4630)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3F93 #85933F
analogous
#3F5B93 #4D3F93 #773F93
triadic
#4D3F93 #934D3F #3F934D
tetradic
#4D3F93 #933F5B #85933F #3F9377
square
#4D3F93 #933F5B #85933F #3F9377
split-complementary
#4D3F93 #93773F #5B933F
monochromatic
#201A3D #372D68 #4D3F93 #6858B7 #8F83CA

Accessibility & contrast

On white

8.58
#4D3F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4D3F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3F93
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3F93#FFFFFF#000000##FFFFFF
##4D3F931.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4E96
Deuteranopia (green-blind)
#0C4A91
Tritanopia (blue-blind)
#365262
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d3f93;
/* rgb */ color: rgb(77, 63, 147);
/* oklch */ color: oklch(42.8% 0.133 287.1);
Tailwind
colors: {
  custom: {
    50: '#8474b3',
    500: '#4d3f93',
    950: '#000000',
  },
}
SCSS
$custom: #4d3f93;
$custom-light: #8474b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3f93",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 250,
    "s": 40,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.13284,
    "h": 287.1
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#4D3F93
secondary
#AAB47A
accent
#D058BC
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D3F93

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

Preview Lab → · Contrast checker → · Palette generator →

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