#4D3091#4D3091

#4D3091 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.152 H 291.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4D3091
RGBrgb(77, 48, 145)
HSLhsl(258, 50%, 38%)
HSVhsv(258, 67%, 57%)
CMYKcmyk(46.9%, 66.9%, 0%, 43.1%)
CIE-LABlab(28.74, 36.97, -49.14)
CIE-LCHlch(28.74, 61.50, 306.95°)
OKLaboklab(40.16% 0.0565 -0.1406)
OKLCHoklch(40.16% 0.152 291.9)
XYZxyz(9.2269, 5.7357, 27.4035)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3091 #749130
analogous
#304491 #4D3091 #7D3091
triadic
#4D3091 #914D30 #30914D
tetradic
#4D3091 #913044 #749130 #30917D
square
#4D3091 #913044 #749130 #30917D
split-complementary
#4D3091 #917D30 #449130
monochromatic
#1C1235 #352163 #4D3091 #653FBF #8A6DCF

Accessibility & contrast

On white

9.78
#4D3091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4D3091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3091
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3091#FFFFFF#000000##FFFFFF
##4D30911.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#39475C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d3091;
/* rgb */ color: rgb(77, 48, 145);
/* oklch */ color: oklch(40.2% 0.152 291.9);
Tailwind
colors: {
  custom: {
    50: '#856ab2',
    500: '#4d3091',
    950: '#000000',
  },
}
SCSS
$custom: #4d3091;
$custom-light: #856ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3091",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 257.938,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40163,
    "c": 0.15152,
    "h": 291.9
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#4D3091
secondary
#9EB667
accent
#DA4EB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D3091

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

Preview Lab → · Contrast checker → · Palette generator →

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