#4C1957#4C1957

#4C1957 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.115 H 320.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4C1957
RGBrgb(76, 25, 87)
HSLhsl(289, 55%, 22%)
HSVhsv(289, 71%, 34%)
CMYKcmyk(12.6%, 71.3%, 0%, 65.9%)
CIE-LABlab(19.72, 33.98, -26.53)
CIE-LCHlch(19.72, 43.11, 322.02°)
OKLaboklab(32.27% 0.0885 -0.0741)
OKLCHoklch(32.27% 0.115 320.1)
XYZxyz(5.0482, 2.9201, 9.3127)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1957 #245719
analogous
#2D1957 #4C1957 #571943
triadic
#4C1957 #574C19 #19574C
tetradic
#4C1957 #572D19 #245719 #194357
square
#4C1957 #572D19 #245719 #194357
split-complementary
#4C1957 #435719 #19572D
monochromatic
#150718 #220B27 #4C1957 #762787 #9F34B6

Accessibility & contrast

On white

13.26
#4C1957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C1957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1957
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1957#FFFFFF#000000##FFFFFF
##4C19571.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C59
Deuteranopia (green-blind)
#1E3155
Tritanopia (blue-blind)
#4C2435
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1957;
/* rgb */ color: rgb(76, 25, 87);
/* oklch */ color: oklch(32.3% 0.115 320.1);
Tailwind
colors: {
  custom: {
    50: '#805a87',
    500: '#4c1957',
    950: '#000000',
  },
}
SCSS
$custom: #4c1957;
$custom-light: #805a87;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1957",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 289.355,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.11548,
    "h": 320.1
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#4C1957
secondary
#4C8D3E
accent
#DF4964
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4C1957

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

Preview Lab → · Contrast checker → · Palette generator →

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