#4C2489#4C2489

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

Color values

HEX#4C2489
RGBrgb(76, 36, 137)
HSLhsl(264, 58%, 34%)
HSVhsv(264, 74%, 54%)
CMYKcmyk(44.5%, 73.7%, 0%, 46.3%)
CIE-LABlab(25.58, 41.06, -49.34)
CIE-LCHlch(25.58, 64.18, 309.77°)
OKLaboklab(37.67% 0.069 -0.1412)
OKLCHoklch(37.67% 0.157 296)
XYZxyz(8.1255, 4.6042, 24.1227)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2489 #618924
analogous
#242F89 #4C2489 #7F2489
triadic
#4C2489 #894C24 #24894C
tetradic
#4C2489 #89242F #618924 #24897F
square
#4C2489 #89242F #618924 #24897F
split-complementary
#4C2489 #897F24 #2F8924
monochromatic
#160B28 #311759 #4C2489 #6731B9 #8755D2

Accessibility & contrast

On white

10.93
#4C2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2489
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2489#FFFFFF#000000##FFFFFF
##4C24891.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c2489;
/* rgb */ color: rgb(76, 36, 137);
/* oklch */ color: oklch(37.7% 0.157 296.0);
Tailwind
colors: {
  custom: {
    50: '#8462ac',
    500: '#4c2489',
    950: '#000000',
  },
}
SCSS
$custom: #4c2489;
$custom-light: #8462ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2489",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 263.762,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37668,
    "c": 0.1571,
    "h": 296
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#4C2489
secondary
#8FB752
accent
#E246A4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4C2489

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

Preview Lab → · Contrast checker → · Palette generator →

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