#4A1372#4A1372

#4A1372 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.150 H 305.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4A1372
RGBrgb(74, 19, 114)
HSLhsl(275, 71%, 26%)
HSVhsv(275, 83%, 45%)
CMYKcmyk(35.1%, 83.3%, 0%, 55.3%)
CIE-LABlab(20.58, 42.43, -42.91)
CIE-LCHlch(20.58, 60.34, 314.68°)
OKLaboklab(33.47% 0.0876 -0.1222)
OKLCHoklch(33.47% 0.15 305.6)
XYZxyz(6.0935, 3.1365, 16.2007)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1372 #3B7213
analogous
#1A1372 #4A1372 #72136A
triadic
#4A1372 #724A13 #13724A
tetradic
#4A1372 #721A13 #3B7213 #136A72
square
#4A1372 #721A13 #3B7213 #136A72
split-complementary
#4A1372 #6A7213 #13721A
monochromatic
#11041A #280A3E #4A1372 #6C1CA6 #8E25DB

Accessibility & contrast

On white

12.91
#4A1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1372
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1372#FFFFFF#000000##FFFFFF
##4A13721.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1372;
/* rgb */ color: rgb(74, 19, 114);
/* oklch */ color: oklch(33.5% 0.150 305.6);
Tailwind
colors: {
  custom: {
    50: '#81589b',
    500: '#4a1372',
    950: '#000000',
  },
}
SCSS
$custom: #4a1372;
$custom-light: #81589b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1372",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 274.737,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33471,
    "c": 0.15039,
    "h": 305.6
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#4A1372
secondary
#68A938
accent
#EE3A86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1372

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

Preview Lab → · Contrast checker → · Palette generator →

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