#4C1269#4C1269

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

Color values

HEX#4C1269
RGBrgb(76, 18, 105)
HSLhsl(280, 71%, 24%)
HSVhsv(280, 83%, 41%)
CMYKcmyk(27.6%, 82.9%, 0%, 58.8%)
CIE-LABlab(20.00, 41.06, -37.99)
CIE-LCHlch(20.00, 55.94, 317.22°)
OKLaboklab(32.89% 0.0939 -0.1077)
OKLCHoklch(32.89% 0.143 311.1)
XYZxyz(5.7461, 2.9892, 13.6361)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1269 #2F6912
analogous
#211269 #4C1269 #69125B
triadic
#4C1269 #694C12 #12694C
tetradic
#4C1269 #692112 #2F6912 #125B69
square
#4C1269 #692112 #2F6912 #125B69
split-complementary
#4C1269 #5B6912 #126921
monochromatic
#13041A #260935 #4C1269 #721B9D #9824D1

Accessibility & contrast

On white

13.14
#4C1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C1269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1269
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1269#FFFFFF#000000##FFFFFF
##4C12691.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#48283E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1269;
/* rgb */ color: rgb(76, 18, 105);
/* oklch */ color: oklch(32.9% 0.143 311.1);
Tailwind
colors: {
  custom: {
    50: '#825894',
    500: '#4c1269',
    950: '#000000',
  },
}
SCSS
$custom: #4c1269;
$custom-light: #825894;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1269",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 280,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3289,
    "c": 0.14287,
    "h": 311.1
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#4C1269
secondary
#5AA136
accent
#ED3A76
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1269

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

Preview Lab → · Contrast checker → · Palette generator →

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