#4D2E88#4D2E88

#4D2E88 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.143 H 294.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4D2E88
RGBrgb(77, 46, 136)
HSLhsl(261, 49%, 36%)
HSVhsv(261, 66%, 53%)
CMYKcmyk(43.4%, 66.2%, 0%, 46.7%)
CIE-LABlab(27.60, 35.50, -45.42)
CIE-LCHlch(27.60, 57.65, 308.01°)
OKLaboklab(39.12% 0.0598 -0.1296)
OKLCHoklch(39.12% 0.143 294.8)
XYZxyz(8.4803, 5.3091, 23.8657)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E88 #69882E
analogous
#2E3C88 #4D2E88 #7A2E88
triadic
#4D2E88 #884D2E #2E884D
tetradic
#4D2E88 #882E3C #69882E #2E887A
square
#4D2E88 #882E3C #69882E #2E887A
split-complementary
#4D2E88 #887A2E #3C882E
monochromatic
#190F2D #331F5A #4D2E88 #673DB6 #8865CB

Accessibility & contrast

On white

10.19
#4D2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D2E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E88
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E88#FFFFFF#000000##FFFFFF
##4D2E881.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#3D4356
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2e88;
/* rgb */ color: rgb(77, 46, 136);
/* oklch */ color: oklch(39.1% 0.143 294.8);
Tailwind
colors: {
  custom: {
    50: '#8469ab',
    500: '#4d2e88',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e88;
$custom-light: #8469ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e88",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 260.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.14277,
    "h": 294.8
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#4D2E88
secondary
#96B260
accent
#D94FA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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