#4C2389#4C2389

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

Color values

HEX#4C2389
RGBrgb(76, 35, 137)
HSLhsl(264, 59%, 34%)
HSVhsv(264, 74%, 54%)
CMYKcmyk(44.5%, 74.5%, 0%, 46.3%)
CIE-LABlab(25.40, 41.56, -49.63)
CIE-LCHlch(25.40, 64.74, 309.95°)
OKLaboklab(37.54% 0.0699 -0.142)
OKLCHoklch(37.54% 0.158 296.2)
XYZxyz(8.0957, 4.5445, 24.1127)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2389 #608923
analogous
#232D89 #4C2389 #7F2389
triadic
#4C2389 #894C23 #23894C
tetradic
#4C2389 #89232D #608923 #23897F
square
#4C2389 #89232D #608923 #23897F
split-complementary
#4C2389 #897F23 #2D8923
monochromatic
#160A28 #311758 #4C2389 #672FBA #8753D3

Accessibility & contrast

On white

11.00
#4C2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2389
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2389#FFFFFF#000000##FFFFFF
##4C23891.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c2389;
/* rgb */ color: rgb(76, 35, 137);
/* oklch */ color: oklch(37.5% 0.158 296.2);
Tailwind
colors: {
  custom: {
    50: '#8462ac',
    500: '#4c2389',
    950: '#000000',
  },
}
SCSS
$custom: #4c2389;
$custom-light: #8462ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2389",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 264.118,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37541,
    "c": 0.1583,
    "h": 296.2
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#4C2389
secondary
#8EB751
accent
#E245A3
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4C2389

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

Preview Lab → · Contrast checker → · Palette generator →

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