#4C1765#4C1765

#4C1765 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.133 H 312.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4C1765
RGBrgb(76, 23, 101)
HSLhsl(281, 63%, 24%)
HSVhsv(281, 77%, 40%)
CMYKcmyk(24.8%, 77.2%, 0%, 60.4%)
CIE-LABlab(20.40, 38.09, -34.73)
CIE-LCHlch(20.40, 51.54, 317.64°)
OKLaboklab(33.07% 0.0897 -0.0981)
OKLCHoklch(33.07% 0.133 312.4)
XYZxyz(5.6354, 3.0890, 12.6088)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1765 #306517
analogous
#251765 #4C1765 #651757
triadic
#4C1765 #654C17 #17654C
tetradic
#4C1765 #652517 #306517 #175765
square
#4C1765 #652517 #306517 #175765
split-complementary
#4C1765 #576517 #176525
monochromatic
#130619 #260C33 #4C1765 #722297 #972EC9

Accessibility & contrast

On white

12.98
#4C1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4C1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1765
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1765#FFFFFF#000000##FFFFFF
##4C17651.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#0E3263
Tritanopia (blue-blind)
#49283C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1765;
/* rgb */ color: rgb(76, 23, 101);
/* oklch */ color: oklch(33.1% 0.133 312.4);
Tailwind
colors: {
  custom: {
    50: '#815a91',
    500: '#4c1765',
    950: '#000000',
  },
}
SCSS
$custom: #4c1765;
$custom-light: #815a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1765",
  "rgb": {
    "r": 76,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 280.769,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33069,
    "c": 0.13295,
    "h": 312.4
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#4C1765
secondary
#5B9B3C
accent
#E64276
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1765

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

Preview Lab → · Contrast checker → · Palette generator →

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