#4C1965#4C1965

#4C1965 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.130 H 312.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4C1965
RGBrgb(76, 25, 101)
HSLhsl(280, 60%, 25%)
HSVhsv(280, 75%, 40%)
CMYKcmyk(24.8%, 75.2%, 0%, 60.4%)
CIE-LABlab(20.72, 37.18, -34.21)
CIE-LCHlch(20.72, 50.52, 317.38°)
OKLaboklab(33.3% 0.0875 -0.0966)
OKLCHoklch(33.3% 0.13 312.1)
XYZxyz(5.6767, 3.1715, 12.6225)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1965 #326519
analogous
#261965 #4C1965 #651958
triadic
#4C1965 #654C19 #19654C
tetradic
#4C1965 #652619 #326519 #195865
square
#4C1965 #652619 #326519 #195865
split-complementary
#4C1965 #586519 #196526
monochromatic
#120619 #270D34 #4C1965 #712596 #9631C7

Accessibility & contrast

On white

12.85
#4C1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4C1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1965
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1965#FFFFFF#000000##FFFFFF
##4C19651.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#103363
Tritanopia (blue-blind)
#49293D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4c1965;
/* rgb */ color: rgb(76, 25, 101);
/* oklch */ color: oklch(33.3% 0.130 312.1);
Tailwind
colors: {
  custom: {
    50: '#815b91',
    500: '#4c1965',
    950: '#000000',
  },
}
SCSS
$custom: #4c1965;
$custom-light: #815b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1965",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 280.263,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33297,
    "c": 0.13034,
    "h": 312.1
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#4C1965
secondary
#5D9B3F
accent
#E34479
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1965

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

Preview Lab → · Contrast checker → · Palette generator →

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