#4D2288#4D2288

#4D2288 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.158 H 297.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4D2288
RGBrgb(77, 34, 136)
HSLhsl(265, 60%, 33%)
HSVhsv(265, 75%, 53%)
CMYKcmyk(43.4%, 75%, 0%, 46.7%)
CIE-LABlab(25.26, 41.97, -49.23)
CIE-LCHlch(25.26, 64.69, 310.45°)
OKLaboklab(37.44% 0.0727 -0.1408)
OKLCHoklch(37.44% 0.158 297.3)
XYZxyz(8.0754, 4.4993, 23.7308)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2288 #5D8822
analogous
#222A88 #4D2288 #802288
triadic
#4D2288 #884D22 #22884D
tetradic
#4D2288 #88222A #5D8822 #228880
square
#4D2288 #88222A #5D8822 #228880
split-complementary
#4D2288 #888022 #2A8822
monochromatic
#160A26 #311657 #4D2288 #692EB9 #8851D3

Accessibility & contrast

On white

11.05
#4D2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4D2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2288
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2288#FFFFFF#000000##FFFFFF
##4D22881.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#3E3C53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2288;
/* rgb */ color: rgb(77, 34, 136);
/* oklch */ color: oklch(37.4% 0.158 297.3);
Tailwind
colors: {
  custom: {
    50: '#8561ac',
    500: '#4d2288',
    950: '#000000',
  },
}
SCSS
$custom: #4d2288;
$custom-light: #8561ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2288",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 265.294,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37444,
    "c": 0.15844,
    "h": 297.3
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

primary
#4D2288
secondary
#8BB74F
accent
#E345A0
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D2288

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

Preview Lab → · Contrast checker → · Palette generator →

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