#4A1470#4A1470

#4A1470 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.147 H 306.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4A1470
RGBrgb(74, 20, 112)
HSLhsl(275, 70%, 26%)
HSVhsv(275, 82%, 44%)
CMYKcmyk(33.9%, 82.1%, 0%, 56.1%)
CIE-LABlab(20.54, 41.56, -41.68)
CIE-LCHlch(20.54, 58.86, 314.92°)
OKLaboklab(33.39% 0.0873 -0.1186)
OKLCHoklch(33.39% 0.147 306.4)
XYZxyz(5.9982, 3.1261, 15.6135)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1470 #3A7014
analogous
#1C1470 #4A1470 #701468
triadic
#4A1470 #704A14 #14704A
tetradic
#4A1470 #701C14 #3A7014 #146870
square
#4A1470 #701C14 #3A7014 #146870
split-complementary
#4A1470 #687014 #14701C
monochromatic
#11051A #280B3C #4A1470 #6C1DA4 #8F27D8

Accessibility & contrast

On white

12.92
#4A1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1470
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1470#FFFFFF#000000##FFFFFF
##4A14701.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#432C42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1470;
/* rgb */ color: rgb(74, 20, 112);
/* oklch */ color: oklch(33.4% 0.147 306.4);
Tailwind
colors: {
  custom: {
    50: '#81599a',
    500: '#4a1470',
    950: '#000000',
  },
}
SCSS
$custom: #4a1470;
$custom-light: #81599a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1470",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 275.217,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33388,
    "c": 0.1473,
    "h": 306.4
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#4A1470
secondary
#66A639
accent
#ED3B84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1470

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

Preview Lab → · Contrast checker → · Palette generator →

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