#4A1472#4A1472

#4A1472 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.149 H 305.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4A1472
RGBrgb(74, 20, 114)
HSLhsl(274, 70%, 26%)
HSVhsv(274, 82%, 45%)
CMYKcmyk(35.1%, 82.5%, 0%, 55.3%)
CIE-LABlab(20.72, 42.04, -42.69)
CIE-LCHlch(20.72, 59.92, 314.56°)
OKLaboklab(33.57% 0.0868 -0.1216)
OKLCHoklch(33.57% 0.149 305.5)
XYZxyz(6.1108, 3.1711, 16.2065)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1472 #3C7214
analogous
#1B1472 #4A1472 #72146B
triadic
#4A1472 #724A14 #14724A
tetradic
#4A1472 #721B14 #3C7214 #146B72
square
#4A1472 #721B14 #3C7214 #146B72
split-complementary
#4A1472 #6B7214 #14721B
monochromatic
#11051A #280B3E #4A1472 #6C1DA6 #8D27D9

Accessibility & contrast

On white

12.85
#4A1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4A1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1472
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1472#FFFFFF#000000##FFFFFF
##4A14721.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#432D43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1472;
/* rgb */ color: rgb(74, 20, 114);
/* oklch */ color: oklch(33.6% 0.149 305.5);
Tailwind
colors: {
  custom: {
    50: '#81599b',
    500: '#4a1472',
    950: '#000000',
  },
}
SCSS
$custom: #4a1472;
$custom-light: #81599b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1472",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 274.468,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33565,
    "c": 0.14938,
    "h": 305.5
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#4A1472
secondary
#69A839
accent
#ED3B87
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1472

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

Preview Lab → · Contrast checker → · Palette generator →

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