#4C2C8D#4C2C8D

#4C2C8D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.152 H 293.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4C2C8D
RGBrgb(76, 44, 141)
HSLhsl(260, 52%, 36%)
HSVhsv(260, 69%, 55%)
CMYKcmyk(46.1%, 68.8%, 0%, 44.7%)
CIE-LABlab(27.46, 37.88, -48.74)
CIE-LCHlch(27.46, 61.73, 307.85°)
OKLaboklab(39.12% 0.0599 -0.1395)
OKLCHoklch(39.12% 0.152 293.2)
XYZxyz(8.6876, 5.2607, 25.7518)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2C8D #6D8D2C
analogous
#2C3D8D #4C2C8D #7D2C8D
triadic
#4C2C8D #8D4C2C #2C8D4C
tetradic
#4C2C8D #8D2C3D #6D8D2C #2C8D7D
square
#4C2C8D #8D2C3D #6D8D2C #2C8D7D
split-complementary
#4C2C8D #8D7D2C #3D8D2C
monochromatic
#1A0F30 #331D5E #4C2C8D #653BBC #8865CF

Accessibility & contrast

On white

10.23
#4C2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4C2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2C8D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2C8D#FFFFFF#000000##FFFFFF
##4C2C8D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#394458
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c2c8d;
/* rgb */ color: rgb(76, 44, 141);
/* oklch */ color: oklch(39.1% 0.152 293.2);
Tailwind
colors: {
  custom: {
    50: '#8467af',
    500: '#4c2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4c2c8d;
$custom-light: #8467af;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2c8d",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 259.794,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.15178,
    "h": 293.2
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#4C2C8D
secondary
#99B560
accent
#DC4CAC
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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