#4D3094#4D3094

#4D3094 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.155 H 291.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4D3094
RGBrgb(77, 48, 148)
HSLhsl(257, 51%, 38%)
HSVhsv(257, 68%, 58%)
CMYKcmyk(48%, 67.6%, 0%, 42%)
CIE-LABlab(28.98, 37.85, -50.59)
CIE-LCHlch(28.98, 63.19, 306.80°)
OKLaboklab(40.41% 0.0561 -0.1449)
OKLCHoklch(40.41% 0.155 291.2)
XYZxyz(9.4613, 5.8295, 28.6379)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3094 #779430
analogous
#304594 #4D3094 #7F3094
triadic
#4D3094 #944D30 #30944D
tetradic
#4D3094 #943045 #779430 #30947F
square
#4D3094 #943045 #779430 #30947F
split-complementary
#4D3094 #947F30 #459430
monochromatic
#1D1238 #352166 #4D3094 #6640C1 #8B6ED0

Accessibility & contrast

On white

9.70
#4D3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4D3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3094
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3094#FFFFFF#000000##FFFFFF
##4D30941.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#37485E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d3094;
/* rgb */ color: rgb(77, 48, 148);
/* oklch */ color: oklch(40.4% 0.155 291.2);
Tailwind
colors: {
  custom: {
    50: '#856ab4',
    500: '#4d3094',
    950: '#000000',
  },
}
SCSS
$custom: #4d3094;
$custom-light: #856ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3094",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 257.4,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.15534,
    "h": 291.2
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#4D3094
secondary
#A1B868
accent
#DA4DB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D3094

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

Preview Lab → · Contrast checker → · Palette generator →

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