#4C1265#4C1265

#4C1265 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.139 H 313.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4C1265
RGBrgb(76, 18, 101)
HSLhsl(282, 70%, 23%)
HSVhsv(282, 82%, 40%)
CMYKcmyk(24.8%, 82.2%, 0%, 60.4%)
CIE-LABlab(19.68, 40.15, -35.90)
CIE-LCHlch(19.68, 53.86, 318.20°)
OKLaboklab(32.56% 0.0948 -0.1015)
OKLCHoklch(32.56% 0.139 313)
XYZxyz(5.5453, 2.9089, 12.5787)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1265 #2B6512
analogous
#221265 #4C1265 #651254
triadic
#4C1265 #654C12 #12654C
tetradic
#4C1265 #652212 #2B6512 #125465
square
#4C1265 #652212 #2B6512 #125465
split-complementary
#4C1265 #546512 #126522
monochromatic
#14051A #250931 #4C1265 #731B99 #9A25CD

Accessibility & contrast

On white

13.28
#4C1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1265
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1265#FFFFFF#000000##FFFFFF
##4C12651.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#073163
Tritanopia (blue-blind)
#49263B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1265;
/* rgb */ color: rgb(76, 18, 101);
/* oklch */ color: oklch(32.6% 0.139 313.0);
Tailwind
colors: {
  custom: {
    50: '#825891',
    500: '#4c1265',
    950: '#000000',
  },
}
SCSS
$custom: #4c1265;
$custom-light: #825891;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1265",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 281.928,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32559,
    "c": 0.13889,
    "h": 313
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#4C1265
secondary
#559D36
accent
#ED3B71
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1265

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

Preview Lab → · Contrast checker → · Palette generator →

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