#4D388C#4D388C

#4D388C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.1% C 0.134 H 290.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4D388C
RGBrgb(77, 56, 140)
HSLhsl(255, 43%, 38%)
HSVhsv(255, 60%, 55%)
CMYKcmyk(45%, 60%, 0%, 45.1%)
CIE-LABlab(30.16, 30.69, -43.76)
CIE-LCHlch(30.16, 53.45, 305.04°)
OKLaboklab(41.08% 0.0475 -0.1248)
OKLCHoklch(41.08% 0.134 290.9)
XYZxyz(9.2071, 6.2993, 25.5366)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D388C #778C38
analogous
#384D8C #4D388C #77388C
triadic
#4D388C #8C4D38 #388C4D
tetradic
#4D388C #8C384D #778C38 #388C77
square
#4D388C #8C384D #778C38 #388C77
split-complementary
#4D388C #8C7738 #4D8C38
monochromatic
#1D1535 #352760 #4D388C #664AB7 #8B76C8

Accessibility & contrast

On white

9.29
#4D388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4D388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D388C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D388C#FFFFFF#000000##FFFFFF
##4D388C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#05458A
Tritanopia (blue-blind)
#3B4B5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d388c;
/* rgb */ color: rgb(77, 56, 140);
/* oklch */ color: oklch(41.1% 0.134 290.9);
Tailwind
colors: {
  custom: {
    50: '#846fae',
    500: '#4d388c',
    950: '#000000',
  },
}
SCSS
$custom: #4d388c;
$custom-light: #846fae;
$custom-dark: #000000;
JSON
{
  "hex": "#4d388c",
  "rgb": {
    "r": 77,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 255,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41076,
    "c": 0.13352,
    "h": 290.9
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#4D388C
secondary
#A1B16F
accent
#D355B3
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D388C

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

Preview Lab → · Contrast checker → · Palette generator →

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