#4C1946#4C1946

#4C1946 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.2% C 0.099 H 332.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4C1946
RGBrgb(76, 25, 70)
HSLhsl(307, 50%, 20%)
HSVhsv(307, 67%, 30%)
CMYKcmyk(0%, 67.1%, 7.9%, 70.2%)
CIE-LABlab(18.69, 30.47, -16.62)
CIE-LCHlch(18.69, 34.70, 331.39°)
OKLaboklab(31.18% 0.0874 -0.0454)
OKLCHoklch(31.18% 0.099 332.5)
XYZxyz(4.4336, 2.6743, 6.0758)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1946 #194C1F
analogous
#39194C #4C1946 #4C192D
triadic
#4C1946 #464C19 #19464C
tetradic
#4C1946 #4C3919 #194C1F #192D4C
square
#4C1946 #4C3919 #194C1F #192D4C
split-complementary
#4C1946 #2D4C19 #194C39
monochromatic
#170815 #1E0A1C #4C1946 #7A2870 #A8379B

Accessibility & contrast

On white

13.68
#4C1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4C1946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1946
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1946#FFFFFF#000000##FFFFFF
##4C19461.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172947
Deuteranopia (green-blind)
#283045
Tritanopia (blue-blind)
#4F1D2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1946;
/* rgb */ color: rgb(76, 25, 70);
/* oklch */ color: oklch(31.2% 0.099 332.5);
Tailwind
colors: {
  custom: {
    50: '#805a79',
    500: '#4c1946',
    950: '#000000',
  },
}
SCSS
$custom: #4c1946;
$custom-light: #805a79;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1946",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 307.059,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31182,
    "c": 0.09852,
    "h": 332.5
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#4C1946
secondary
#3E8246
accent
#DA5E4E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4C1946

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

Preview Lab → · Contrast checker → · Palette generator →

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