#4A1973#4A1973

#4A1973 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.145 H 304.4°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#4A1973
RGBrgb(74, 25, 115)
HSLhsl(273, 64%, 27%)
HSVhsv(273, 78%, 45%)
CMYKcmyk(35.7%, 78.3%, 0%, 54.9%)
CIE-LABlab(21.54, 40.18, -41.99)
CIE-LCHlch(21.54, 58.12, 313.73°)
OKLaboklab(34.17% 0.0819 -0.1196)
OKLCHoklch(34.17% 0.145 304.4)
XYZxyz(6.2655, 3.3889, 16.5404)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1973 #427319
analogous
#1D1973 #4A1973 #73196F
triadic
#4A1973 #734A19 #19734A
tetradic
#4A1973 #731D19 #427319 #196F73
square
#4A1973 #731D19 #427319 #196F73
split-complementary
#4A1973 #6F7319 #19731D
monochromatic
#100519 #2A0E41 #4A1973 #6A24A5 #8A34D3

Accessibility & contrast

On white

12.52
#4A1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4A1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1973
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1973#FFFFFF#000000##FFFFFF
##4A19731.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#422F45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a1973;
/* rgb */ color: rgb(74, 25, 115);
/* oklch */ color: oklch(34.2% 0.145 304.4);
Tailwind
colors: {
  custom: {
    50: '#815b9c',
    500: '#4a1973',
    950: '#000000',
  },
}
SCSS
$custom: #4a1973;
$custom-light: #815b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1973",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 272.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34169,
    "c": 0.14492,
    "h": 304.4
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#4A1973
secondary
#6FA840
accent
#E7418C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1973

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

Preview Lab → · Contrast checker → · Palette generator →

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