#4C2E90#4C2E90

#4C2E90 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.153 H 292.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4C2E90
RGBrgb(76, 46, 144)
HSLhsl(258, 52%, 37%)
HSVhsv(258, 68%, 56%)
CMYKcmyk(47.2%, 68.1%, 0%, 43.5%)
CIE-LABlab(28.12, 37.62, -49.53)
CIE-LCHlch(28.12, 62.19, 307.22°)
OKLaboklab(39.67% 0.0573 -0.1418)
OKLCHoklch(39.67% 0.153 292)
XYZxyz(8.9901, 5.5038, 26.9688)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2E90 #72902E
analogous
#2E4190 #4C2E90 #7D2E90
triadic
#4C2E90 #904C2E #2E904C
tetradic
#4C2E90 #902E41 #72902E #2E907D
square
#4C2E90 #902E41 #72902E #2E907D
split-complementary
#4C2E90 #907D2E #41902E
monochromatic
#1B1033 #341F62 #4C2E90 #643DBE #8869CF

Accessibility & contrast

On white

10.00
#4C2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4C2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2E90
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2E90#FFFFFF#000000##FFFFFF
##4C2E901.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#37465B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2e90;
/* rgb */ color: rgb(76, 46, 144);
/* oklch */ color: oklch(39.7% 0.153 292.0);
Tailwind
colors: {
  custom: {
    50: '#8469b1',
    500: '#4c2e90',
    950: '#000000',
  },
}
SCSS
$custom: #4c2e90;
$custom-light: #8469b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2e90",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 258.367,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.15291,
    "h": 292
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#4C2E90
secondary
#9DB664
accent
#DB4DAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4C2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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