#4C1967#4C1967

#4C1967 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.132 H 311.1°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#4C1967
RGBrgb(76, 25, 103)
HSLhsl(279, 61%, 25%)
HSVhsv(279, 76%, 40%)
CMYKcmyk(26.2%, 75.7%, 0%, 59.6%)
CIE-LABlab(20.87, 37.65, -35.28)
CIE-LCHlch(20.87, 51.59, 316.86°)
OKLaboklab(33.45% 0.0872 -0.0998)
OKLCHoklch(33.45% 0.132 311.1)
XYZxyz(5.7758, 3.2112, 13.1449)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1967 #346719
analogous
#251967 #4C1967 #67195B
triadic
#4C1967 #674C19 #19674C
tetradic
#4C1967 #672519 #346719 #195B67
square
#4C1967 #672519 #346719 #195B67
split-complementary
#4C1967 #5B6719 #196725
monochromatic
#120619 #280D36 #4C1967 #702598 #9531C9

Accessibility & contrast

On white

12.79
#4C1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4C1967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1967
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1967#FFFFFF#000000##FFFFFF
##4C19671.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#0D3365
Tritanopia (blue-blind)
#492A3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4c1967;
/* rgb */ color: rgb(76, 25, 103);
/* oklch */ color: oklch(33.5% 0.132 311.1);
Tailwind
colors: {
  custom: {
    50: '#815b93',
    500: '#4c1967',
    950: '#000000',
  },
}
SCSS
$custom: #4c1967;
$custom-light: #815b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1967",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 279.231,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33454,
    "c": 0.13249,
    "h": 311.1
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#4C1967
secondary
#5F9D3F
accent
#E4447B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1967

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

Preview Lab → · Contrast checker → · Palette generator →

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