#4C1468#4C1468

#4C1468 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.140 H 311.3°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#4C1468
RGBrgb(76, 20, 104)
HSLhsl(280, 68%, 24%)
HSVhsv(280, 81%, 41%)
CMYKcmyk(26.9%, 80.8%, 0%, 59.2%)
CIE-LABlab(20.19, 40.05, -37.03)
CIE-LCHlch(20.19, 54.55, 317.24°)
OKLaboklab(33% 0.0922 -0.1049)
OKLCHoklch(33% 0.14 311.3)
XYZxyz(5.7289, 3.0364, 13.3783)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1468 #306814
analogous
#221468 #4C1468 #68145A
triadic
#4C1468 #684C14 #14684C
tetradic
#4C1468 #682214 #306814 #145A68
square
#4C1468 #682214 #306814 #145A68
split-complementary
#4C1468 #5A6814 #146822
monochromatic
#13051A #260A35 #4C1468 #721E9B #9728CF

Accessibility & contrast

On white

13.07
#4C1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1468
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1468#FFFFFF#000000##FFFFFF
##4C14681.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#033266
Tritanopia (blue-blind)
#48283D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1468;
/* rgb */ color: rgb(76, 20, 104);
/* oklch */ color: oklch(33.0% 0.140 311.3);
Tailwind
colors: {
  custom: {
    50: '#825994',
    500: '#4c1468',
    950: '#000000',
  },
}
SCSS
$custom: #4c1468;
$custom-light: #825994;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1468",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 280,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32997,
    "c": 0.13967,
    "h": 311.3
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#4C1468
secondary
#5B9F39
accent
#EB3D77
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1468

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

Preview Lab → · Contrast checker → · Palette generator →

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