#4D2389#4D2389

#4D2389 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.158 H 296.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#4D2389
RGBrgb(77, 35, 137)
HSLhsl(265, 59%, 34%)
HSVhsv(265, 74%, 54%)
CMYKcmyk(43.8%, 74.5%, 0%, 46.3%)
CIE-LABlab(25.52, 41.75, -49.42)
CIE-LCHlch(25.52, 64.69, 310.19°)
OKLaboklab(37.66% 0.0715 -0.1414)
OKLCHoklch(37.66% 0.158 296.8)
XYZxyz(8.1758, 4.5858, 24.1165)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2389 #5F8923
analogous
#232C89 #4D2389 #802389
triadic
#4D2389 #894D23 #23894D
tetradic
#4D2389 #89232C #5F8923 #238980
square
#4D2389 #89232C #5F8923 #238980
split-complementary
#4D2389 #898023 #2C8923
monochromatic
#160A28 #321758 #4D2389 #682FBA #8853D3

Accessibility & contrast

On white

10.95
#4D2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4D2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2389
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2389#FFFFFF#000000##FFFFFF
##4D23891.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2389;
/* rgb */ color: rgb(77, 35, 137);
/* oklch */ color: oklch(37.7% 0.158 296.8);
Tailwind
colors: {
  custom: {
    50: '#8562ac',
    500: '#4d2389',
    950: '#000000',
  },
}
SCSS
$custom: #4d2389;
$custom-light: #8562ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2389",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 264.706,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37657,
    "c": 0.15841,
    "h": 296.8
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#4D2389
secondary
#8DB751
accent
#E245A2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4D2389

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

Preview Lab → · Contrast checker → · Palette generator →

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