#4A1A73#4A1A73

#4A1A73 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.144 H 304.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#4A1A73
RGBrgb(74, 26, 115)
HSLhsl(272, 63%, 28%)
HSVhsv(272, 77%, 45%)
CMYKcmyk(35.7%, 77.4%, 0%, 54.9%)
CIE-LABlab(21.70, 39.72, -41.73)
CIE-LCHlch(21.70, 57.61, 313.58°)
OKLaboklab(34.28% 0.0809 -0.1188)
OKLCHoklch(34.28% 0.144 304.2)
XYZxyz(6.2872, 3.4325, 16.5476)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1A73 #43731A
analogous
#1E1A73 #4A1A73 #731A6F
triadic
#4A1A73 #734A1A #1A734A
tetradic
#4A1A73 #731E1A #43731A #1A6F73
square
#4A1A73 #731E1A #43731A #1A6F73
split-complementary
#4A1A73 #6F731A #1A731E
monochromatic
#100619 #2A0F41 #4A1A73 #6A25A5 #8A36D2

Accessibility & contrast

On white

12.45
#4A1A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4A1A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1A73
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1A73#FFFFFF#000000##FFFFFF
##4A1A731.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#423045
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a1a73;
/* rgb */ color: rgb(74, 26, 115);
/* oklch */ color: oklch(34.3% 0.144 304.2);
Tailwind
colors: {
  custom: {
    50: '#815c9c',
    500: '#4a1a73',
    950: '#000000',
  },
}
SCSS
$custom: #4a1a73;
$custom-light: #815c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1a73",
  "rgb": {
    "r": 74,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 272.36,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34281,
    "c": 0.14373,
    "h": 304.2
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#4A1A73
secondary
#70A841
accent
#E6428D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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