#4C2089#4C2089

#4C2089 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.162 H 296.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4C2089
RGBrgb(76, 32, 137)
HSLhsl(265, 62%, 33%)
HSVhsv(265, 77%, 54%)
CMYKcmyk(44.5%, 76.6%, 0%, 46.3%)
CIE-LABlab(24.88, 43.04, -50.48)
CIE-LCHlch(24.88, 66.33, 310.45°)
OKLaboklab(37.17% 0.0728 -0.1445)
OKLCHoklch(37.17% 0.162 296.7)
XYZxyz(8.0112, 4.3755, 24.0845)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2089 #5D8920
analogous
#202889 #4C2089 #802089
triadic
#4C2089 #894C20 #20894C
tetradic
#4C2089 #892028 #5D8920 #208980
square
#4C2089 #892028 #5D8920 #208980
split-complementary
#4C2089 #898020 #288920
monochromatic
#150926 #301457 #4C2089 #682CBB #874ED6

Accessibility & contrast

On white

11.20
#4C2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4C2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2089
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2089#FFFFFF#000000##FFFFFF
##4C20891.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#3C3C53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c2089;
/* rgb */ color: rgb(76, 32, 137);
/* oklch */ color: oklch(37.2% 0.162 296.7);
Tailwind
colors: {
  custom: {
    50: '#8460ac',
    500: '#4c2089',
    950: '#000000',
  },
}
SCSS
$custom: #4c2089;
$custom-light: #8460ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2089",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 265.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.16178,
    "h": 296.7
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#4C2089
secondary
#8BB94C
accent
#E543A1
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4C2089

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

Preview Lab → · Contrast checker → · Palette generator →

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