#4C2590#4C2590

#4C2590 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.164 H 293.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#4C2590
RGBrgb(76, 37, 144)
HSLhsl(262, 59%, 35%)
HSVhsv(262, 74%, 56%)
CMYKcmyk(47.2%, 74.3%, 0%, 43.5%)
CIE-LABlab(26.37, 42.49, -52.39)
CIE-LCHlch(26.37, 67.45, 309.04°)
OKLaboklab(38.42% 0.0664 -0.1501)
OKLCHoklch(38.42% 0.164 293.9)
XYZxyz(8.6747, 4.8730, 26.8637)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2590 #699025
analogous
#253490 #4C2590 #812590
triadic
#4C2590 #904C25 #25904C
tetradic
#4C2590 #902534 #699025 #259081
square
#4C2590 #902534 #699025 #259081
split-complementary
#4C2590 #908125 #349025
monochromatic
#190C2F #32185F #4C2590 #6632C1 #875BD5

Accessibility & contrast

On white

10.64
#4C2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4C2590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2590
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2590#FFFFFF#000000##FFFFFF
##4C25901.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#384158
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4c2590;
/* rgb */ color: rgb(76, 37, 144);
/* oklch */ color: oklch(38.4% 0.164 293.9);
Tailwind
colors: {
  custom: {
    50: '#8563b1',
    500: '#4c2590',
    950: '#000000',
  },
}
SCSS
$custom: #4c2590;
$custom-light: #8563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2590",
  "rgb": {
    "r": 76,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 261.869,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.16416,
    "h": 293.9
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#4C2590
secondary
#96B957
accent
#E245A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4C2590

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

Preview Lab → · Contrast checker → · Palette generator →

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