#4C2390#4C2390

#4C2390 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.166 H 294.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4C2390
RGBrgb(76, 35, 144)
HSLhsl(263, 61%, 35%)
HSVhsv(263, 76%, 56%)
CMYKcmyk(47.2%, 75.7%, 0%, 43.5%)
CIE-LABlab(26.02, 43.49, -52.97)
CIE-LCHlch(26.02, 68.53, 309.39°)
OKLaboklab(38.17% 0.0683 -0.1518)
OKLCHoklch(38.17% 0.166 294.2)
XYZxyz(8.6142, 4.7519, 26.8435)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2390 #679023
analogous
#233090 #4C2390 #832390
triadic
#4C2390 #904C23 #23904C
tetradic
#4C2390 #902330 #679023 #239083
square
#4C2390 #902330 #679023 #239083
split-complementary
#4C2390 #908323 #309023
monochromatic
#180B2E #32175F #4C2390 #662FC1 #8757D6

Accessibility & contrast

On white

10.77
#4C2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4C2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2390
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2390#FFFFFF#000000##FFFFFF
##4C23901.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c2390;
/* rgb */ color: rgb(76, 35, 144);
/* oklch */ color: oklch(38.2% 0.166 294.2);
Tailwind
colors: {
  custom: {
    50: '#8562b1',
    500: '#4c2390',
    950: '#000000',
  },
}
SCSS
$custom: #4c2390;
$custom-light: #8562b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2390",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 262.569,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3817,
    "c": 0.16645,
    "h": 294.2
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#4C2390
secondary
#94BA54
accent
#E444A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4C2390

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

Preview Lab → · Contrast checker → · Palette generator →

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