#4A1071#4A1071

#4A1071 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.152 H 306.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#4A1071
RGBrgb(74, 16, 113)
HSLhsl(276, 75%, 25%)
HSVhsv(276, 86%, 44%)
CMYKcmyk(34.5%, 85.8%, 0%, 55.7%)
CIE-LABlab(20.12, 43.28, -43.02)
CIE-LCHlch(20.12, 61.02, 315.18°)
OKLaboklab(33.12% 0.0903 -0.1225)
OKLCHoklch(33.12% 0.152 306.4)
XYZxyz(5.9893, 3.0187, 15.8867)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1071 #377110
analogous
#191071 #4A1071 #711068
triadic
#4A1071 #714A10 #10714A
tetradic
#4A1071 #711910 #377110 #106871
square
#4A1071 #711910 #377110 #106871
split-complementary
#4A1071 #687110 #107119
monochromatic
#12041B #27083B #4A1071 #6D18A7 #901FDC

Accessibility & contrast

On white

13.09
#4A1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4A1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1071
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1071#FFFFFF#000000##FFFFFF
##4A10711.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#432B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1071;
/* rgb */ color: rgb(74, 16, 113);
/* oklch */ color: oklch(33.1% 0.152 306.4);
Tailwind
colors: {
  custom: {
    50: '#81579b',
    500: '#4a1071',
    950: '#000000',
  },
}
SCSS
$custom: #4a1071;
$custom-light: #81579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1071",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 275.876,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33121,
    "c": 0.15223,
    "h": 306.4
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#4A1071
secondary
#63A934
accent
#F23682
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1071

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

Preview Lab → · Contrast checker → · Palette generator →

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