#4D3092#4D3092

#4D3092 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.2% C 0.153 H 291.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4D3092
RGBrgb(77, 48, 146)
HSLhsl(258, 51%, 38%)
HSVhsv(258, 67%, 57%)
CMYKcmyk(47.3%, 67.1%, 0%, 42.7%)
CIE-LABlab(28.82, 37.26, -49.63)
CIE-LCHlch(28.82, 62.06, 306.90°)
OKLaboklab(40.25% 0.0564 -0.142)
OKLCHoklch(40.25% 0.153 291.6)
XYZxyz(9.3044, 5.7667, 27.8114)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3092 #759230
analogous
#304492 #4D3092 #7E3092
triadic
#4D3092 #924D30 #30924D
tetradic
#4D3092 #923044 #759230 #30927E
square
#4D3092 #923044 #759230 #30927E
split-complementary
#4D3092 #927E30 #449230
monochromatic
#1C1236 #352164 #4D3092 #653FC0 #8A6DCF

Accessibility & contrast

On white

9.75
#4D3092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3092
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3092#FFFFFF#000000##FFFFFF
##4D30921.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#38485C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d3092;
/* rgb */ color: rgb(77, 48, 146);
/* oklch */ color: oklch(40.2% 0.153 291.6);
Tailwind
colors: {
  custom: {
    50: '#856ab3',
    500: '#4d3092',
    950: '#000000',
  },
}
SCSS
$custom: #4d3092;
$custom-light: #856ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3092",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 146
  },
  "hsl": {
    "h": 257.755,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40246,
    "c": 0.1528,
    "h": 291.6
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#4D3092
secondary
#9FB767
accent
#DA4EB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D3092

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

Preview Lab → · Contrast checker → · Palette generator →

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