#4D2289#4D2289

#4D2289 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.160 H 297.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#4D2289
RGBrgb(77, 34, 137)
HSLhsl(265, 60%, 34%)
HSVhsv(265, 75%, 54%)
CMYKcmyk(43.8%, 75.2%, 0%, 46.3%)
CIE-LABlab(25.34, 42.24, -49.71)
CIE-LCHlch(25.34, 65.23, 310.36°)
OKLaboklab(37.53% 0.0724 -0.1422)
OKLCHoklch(37.53% 0.16 297)
XYZxyz(8.1468, 4.5278, 24.1068)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2289 #5E8922
analogous
#222A89 #4D2289 #802289
triadic
#4D2289 #894D22 #22894D
tetradic
#4D2289 #89222A #5E8922 #228980
square
#4D2289 #89222A #5E8922 #228980
split-complementary
#4D2289 #898022 #2A8922
monochromatic
#160A27 #311658 #4D2289 #692EBA #8851D4

Accessibility & contrast

On white

11.02
#4D2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4D2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2289
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2289#FFFFFF#000000##FFFFFF
##4D22891.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#3D3D53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2289;
/* rgb */ color: rgb(77, 34, 137);
/* oklch */ color: oklch(37.5% 0.160 297.0);
Tailwind
colors: {
  custom: {
    50: '#8561ac',
    500: '#4d2289',
    950: '#000000',
  },
}
SCSS
$custom: #4d2289;
$custom-light: #8561ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2289",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 265.049,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37533,
    "c": 0.15959,
    "h": 297
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#4D2289
secondary
#8CB84F
accent
#E344A1
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D2289

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

Preview Lab → · Contrast checker → · Palette generator →

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