#4C2289#4C2289

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

Color values

HEX#4C2289
RGBrgb(76, 34, 137)
HSLhsl(264, 60%, 34%)
HSVhsv(264, 75%, 54%)
CMYKcmyk(44.5%, 75.2%, 0%, 46.3%)
CIE-LABlab(25.22, 42.06, -49.92)
CIE-LCHlch(25.22, 65.28, 310.12°)
OKLaboklab(37.42% 0.0709 -0.1429)
OKLCHoklch(37.42% 0.159 296.4)
XYZxyz(8.0667, 4.4865, 24.1030)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2289 #5F8922
analogous
#222B89 #4C2289 #7F2289
triadic
#4C2289 #894C22 #22894C
tetradic
#4C2289 #89222B #5F8922 #22897F
square
#4C2289 #89222B #5F8922 #22897F
split-complementary
#4C2289 #897F22 #2B8922
monochromatic
#160A27 #311658 #4C2289 #672EBA #8751D4

Accessibility & contrast

On white

11.07
#4C2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2289
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2289#FFFFFF#000000##FFFFFF
##4C22891.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c2289;
/* rgb */ color: rgb(76, 34, 137);
/* oklch */ color: oklch(37.4% 0.159 296.4);
Tailwind
colors: {
  custom: {
    50: '#8461ac',
    500: '#4c2289',
    950: '#000000',
  },
}
SCSS
$custom: #4c2289;
$custom-light: #8461ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2289",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 264.466,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.15949,
    "h": 296.4
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#4C2289
secondary
#8DB84F
accent
#E344A3
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4C2289

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

Preview Lab → · Contrast checker → · Palette generator →

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