#4D3093#4D3093

#4D3093 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.154 H 291.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4D3093
RGBrgb(77, 48, 147)
HSLhsl(258, 51%, 38%)
HSVhsv(258, 67%, 58%)
CMYKcmyk(47.6%, 67.3%, 0%, 42.4%)
CIE-LABlab(28.90, 37.56, -50.11)
CIE-LCHlch(28.90, 62.63, 306.85°)
OKLaboklab(40.33% 0.0562 -0.1434)
OKLCHoklch(40.33% 0.154 291.4)
XYZxyz(9.3825, 5.7979, 28.2229)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3093 #769330
analogous
#304493 #4D3093 #7E3093
triadic
#4D3093 #934D30 #30934D
tetradic
#4D3093 #933044 #769330 #30937E
square
#4D3093 #933044 #769330 #30937E
split-complementary
#4D3093 #937E30 #449330
monochromatic
#1D1237 #352165 #4D3093 #6540C1 #8A6ED0

Accessibility & contrast

On white

9.72
#4D3093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4D3093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3093
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3093#FFFFFF#000000##FFFFFF
##4D30931.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#37485D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d3093;
/* rgb */ color: rgb(77, 48, 147);
/* oklch */ color: oklch(40.3% 0.154 291.4);
Tailwind
colors: {
  custom: {
    50: '#856ab3',
    500: '#4d3093',
    950: '#000000',
  },
}
SCSS
$custom: #4d3093;
$custom-light: #856ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3093",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 147
  },
  "hsl": {
    "h": 257.576,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.15408,
    "h": 291.4
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#4D3093
secondary
#A0B768
accent
#DA4EB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D3093

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

Preview Lab → · Contrast checker → · Palette generator →

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