#4D348A#4D348A

#4D348A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.137 H 292.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4D348A
RGBrgb(77, 52, 138)
HSLhsl(257, 45%, 37%)
HSVhsv(257, 62%, 54%)
CMYKcmyk(44.2%, 62.3%, 0%, 45.9%)
CIE-LABlab(29.08, 32.53, -44.26)
CIE-LCHlch(29.08, 54.93, 306.31°)
OKLaboklab(40.24% 0.0525 -0.1262)
OKLCHoklch(40.24% 0.137 292.6)
XYZxyz(8.8748, 5.8685, 24.7050)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D348A #718A34
analogous
#34468A #4D348A #78348A
triadic
#4D348A #8A4D34 #348A4D
tetradic
#4D348A #8A3446 #718A34 #348A78
square
#4D348A #8A3446 #718A34 #348A78
split-complementary
#4D348A #8A7834 #468A34
monochromatic
#1B1331 #34235E #4D348A #6645B6 #896FC9

Accessibility & contrast

On white

9.66
#4D348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D348A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D348A#FFFFFF#000000##FFFFFF
##4D348A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#3C475A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d348a;
/* rgb */ color: rgb(77, 52, 138);
/* oklch */ color: oklch(40.2% 0.137 292.6);
Tailwind
colors: {
  custom: {
    50: '#846dad',
    500: '#4d348a',
    950: '#000000',
  },
}
SCSS
$custom: #4d348a;
$custom-light: #846dad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d348a",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 257.442,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40241,
    "c": 0.13673,
    "h": 292.6
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#4D348A
secondary
#9CB169
accent
#D553AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D348A

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

Preview Lab → · Contrast checker → · Palette generator →

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