#4A1070#4A1070

#4A1070 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.151 H 306.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4A1070
RGBrgb(74, 16, 112)
HSLhsl(276, 75%, 25%)
HSVhsv(276, 86%, 44%)
CMYKcmyk(33.9%, 85.7%, 0%, 56.1%)
CIE-LABlab(20.03, 43.05, -42.52)
CIE-LCHlch(20.03, 60.50, 315.36°)
OKLaboklab(33.03% 0.0907 -0.121)
OKLCHoklch(33.03% 0.151 306.8)
XYZxyz(5.9333, 2.9963, 15.5919)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1070 #367010
analogous
#1A1070 #4A1070 #701066
triadic
#4A1070 #704A10 #10704A
tetradic
#4A1070 #701A10 #367010 #106670
square
#4A1070 #701A10 #367010 #106670
split-complementary
#4A1070 #667010 #10701A
monochromatic
#12041B #27083A #4A1070 #6D18A6 #911FDB

Accessibility & contrast

On white

13.13
#4A1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1070
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1070#FFFFFF#000000##FFFFFF
##4A10701.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#432A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1070;
/* rgb */ color: rgb(74, 16, 112);
/* oklch */ color: oklch(33.0% 0.151 306.8);
Tailwind
colors: {
  custom: {
    50: '#81579a',
    500: '#4a1070',
    950: '#000000',
  },
}
SCSS
$custom: #4a1070;
$custom-light: #81579a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1070",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 276.25,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33031,
    "c": 0.15123,
    "h": 306.8
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#4A1070
secondary
#62A834
accent
#F23680
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4A1070

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

Preview Lab → · Contrast checker → · Palette generator →

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