#4C1A67#4C1A67

#4C1A67 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.131 H 311.0°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4C1A67
RGBrgb(76, 26, 103)
HSLhsl(279, 60%, 25%)
HSVhsv(279, 75%, 40%)
CMYKcmyk(26.2%, 74.8%, 0%, 59.6%)
CIE-LABlab(21.04, 37.18, -35.01)
CIE-LCHlch(21.04, 51.07, 316.72°)
OKLaboklab(33.57% 0.086 -0.099)
OKLCHoklch(33.57% 0.131 311)
XYZxyz(5.7976, 3.2547, 13.1521)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1A67 #35671A
analogous
#251A67 #4C1A67 #671A5B
triadic
#4C1A67 #674C1A #1A674C
tetradic
#4C1A67 #67251A #35671A #1A5B67
square
#4C1A67 #67251A #35671A #1A5B67
split-complementary
#4C1A67 #5B671A #1A6725
monochromatic
#120618 #280E36 #4C1A67 #702698 #9433C9

Accessibility & contrast

On white

12.72
#4C1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4C1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1A67
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1A67#FFFFFF#000000##FFFFFF
##4C1A671.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#0E3365
Tritanopia (blue-blind)
#482B3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c1a67;
/* rgb */ color: rgb(76, 26, 103);
/* oklch */ color: oklch(33.6% 0.131 311.0);
Tailwind
colors: {
  custom: {
    50: '#815b93',
    500: '#4c1a67',
    950: '#000000',
  },
}
SCSS
$custom: #4c1a67;
$custom-light: #815b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1a67",
  "rgb": {
    "r": 76,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 278.961,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33572,
    "c": 0.13115,
    "h": 311
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#4C1A67
secondary
#619D40
accent
#E3457C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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