#4C1763#4C1763

#4C1763 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.131 H 313.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4C1763
RGBrgb(76, 23, 99)
HSLhsl(282, 62%, 24%)
HSVhsv(282, 77%, 39%)
CMYKcmyk(23.2%, 76.8%, 0%, 61.2%)
CIE-LABlab(20.24, 37.62, -33.66)
CIE-LCHlch(20.24, 50.48, 318.18°)
OKLaboklab(32.91% 0.09 -0.095)
OKLCHoklch(32.91% 0.131 313.4)
XYZxyz(5.5386, 3.0503, 12.0990)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1763 #2E6317
analogous
#261763 #4C1763 #631754
triadic
#4C1763 #634C17 #17634C
tetradic
#4C1763 #632617 #2E6317 #175463
square
#4C1763 #632617 #2E6317 #175463
split-complementary
#4C1763 #546317 #176326
monochromatic
#130619 #260B31 #4C1763 #722395 #982EC6

Accessibility & contrast

On white

13.04
#4C1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1763
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1763#FFFFFF#000000##FFFFFF
##4C17631.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#113261
Tritanopia (blue-blind)
#4A273B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1763;
/* rgb */ color: rgb(76, 23, 99);
/* oklch */ color: oklch(32.9% 0.131 313.4);
Tailwind
colors: {
  custom: {
    50: '#815a90',
    500: '#4c1763',
    950: '#000000',
  },
}
SCSS
$custom: #4c1763;
$custom-light: #815a90;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1763",
  "rgb": {
    "r": 76,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 281.842,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32912,
    "c": 0.13086,
    "h": 313.4
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#4C1763
secondary
#599A3C
accent
#E54274
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4C1763

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

Preview Lab → · Contrast checker → · Palette generator →

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