#4C2CA0#4C2CA0

#4C2CA0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.175 H 288.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4C2CA0
RGBrgb(76, 44, 160)
HSLhsl(257, 57%, 40%)
HSVhsv(257, 73%, 63%)
CMYKcmyk(52.5%, 72.5%, 0%, 37.3%)
CIE-LABlab(29.10, 43.42, -57.73)
CIE-LCHlch(29.10, 72.23, 306.95°)
OKLaboklab(40.79% 0.0564 -0.1658)
OKLCHoklch(40.79% 0.175 288.8)
XYZxyz(10.2245, 5.8755, 33.8462)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CA0 #80A02C
analogous
#2C46A0 #4C2CA0 #862CA0
triadic
#4C2CA0 #A04C2C #2CA04C
tetradic
#4C2CA0 #A02C46 #80A02C #2CA086
square
#4C2CA0 #A02C46 #80A02C #2CA086
split-complementary
#4C2CA0 #A0862C #46A02C
monochromatic
#1E1240 #351F70 #4C2CA0 #653FCA #8C6FD7

Accessibility & contrast

On white

9.65
#4C2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4C2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2CA0
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CA0#FFFFFF#000000##FFFFFF
##4C2CA01.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#2D4B63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c2ca0;
/* rgb */ color: rgb(76, 44, 160);
/* oklch */ color: oklch(40.8% 0.175 288.8);
Tailwind
colors: {
  custom: {
    50: '#8768bd',
    500: '#4c2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ca0;
$custom-light: #8768bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ca0",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 256.552,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.40791,
    "c": 0.17517,
    "h": 288.8
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#4C2CA0
secondary
#A7BF69
accent
#E048B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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