#4A1373#4A1373

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

Color values

HEX#4A1373
RGBrgb(74, 19, 115)
HSLhsl(274, 72%, 26%)
HSVhsv(274, 83%, 45%)
CMYKcmyk(35.7%, 83.5%, 0%, 54.9%)
CIE-LABlab(20.67, 42.67, -43.41)
CIE-LCHlch(20.67, 60.87, 314.51°)
OKLaboklab(33.56% 0.0873 -0.1237)
OKLCHoklch(33.56% 0.151 305.2)
XYZxyz(6.1507, 3.1594, 16.5021)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1373 #3C7313
analogous
#1A1373 #4A1373 #73136C
triadic
#4A1373 #734A13 #13734A
tetradic
#4A1373 #731A13 #3C7313 #136C73
square
#4A1373 #731A13 #3C7313 #136C73
split-complementary
#4A1373 #6C7313 #13731A
monochromatic
#11041A #280A3E #4A1373 #6C1CA8 #8D25DB

Accessibility & contrast

On white

12.87
#4A1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1373
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1373#FFFFFF#000000##FFFFFF
##4A13731.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#422D43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1373;
/* rgb */ color: rgb(74, 19, 115);
/* oklch */ color: oklch(33.6% 0.151 305.2);
Tailwind
colors: {
  custom: {
    50: '#81599c',
    500: '#4a1373',
    950: '#000000',
  },
}
SCSS
$custom: #4a1373;
$custom-light: #81599c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1373",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 274.375,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33561,
    "c": 0.15142,
    "h": 305.2
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#4A1373
secondary
#69AA38
accent
#EE3987
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1373

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

Preview Lab → · Contrast checker → · Palette generator →

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