#4A1567#4A1567

#4A1567 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.137 H 310.3°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#4A1567
RGBrgb(74, 21, 103)
HSLhsl(279, 66%, 24%)
HSVhsv(279, 80%, 40%)
CMYKcmyk(28.2%, 79.6%, 0%, 59.6%)
CIE-LABlab(19.93, 38.99, -36.81)
CIE-LCHlch(19.93, 53.62, 316.65°)
OKLaboklab(32.72% 0.0885 -0.1043)
OKLCHoklch(32.72% 0.137 310.3)
XYZxyz(5.5399, 2.9716, 13.1111)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1567 #326715
analogous
#211567 #4A1567 #67155B
triadic
#4A1567 #674A15 #15674A
tetradic
#4A1567 #672115 #326715 #155B67
square
#4A1567 #672115 #326715 #155B67
split-complementary
#4A1567 #5B6715 #156721
monochromatic
#120519 #250B34 #4A1567 #6F1F9A #932ACD

Accessibility & contrast

On white

13.17
#4A1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4A1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1567
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1567#FFFFFF#000000##FFFFFF
##4A15671.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#023165
Tritanopia (blue-blind)
#46283D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1567;
/* rgb */ color: rgb(74, 21, 103);
/* oklch */ color: oklch(32.7% 0.137 310.3);
Tailwind
colors: {
  custom: {
    50: '#805993',
    500: '#4a1567',
    950: '#000000',
  },
}
SCSS
$custom: #4a1567;
$custom-light: #805993;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1567",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 278.78,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32722,
    "c": 0.13682,
    "h": 310.3
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#4A1567
secondary
#5D9E3A
accent
#E93F7B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A1567

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

Preview Lab → · Contrast checker → · Palette generator →

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