#4A1D73#4A1D73

#4A1D73 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.140 H 303.7°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#4A1D73
RGBrgb(74, 29, 115)
HSLhsl(271, 60%, 28%)
HSVhsv(271, 75%, 45%)
CMYKcmyk(35.7%, 74.8%, 0%, 54.9%)
CIE-LABlab(22.20, 38.29, -40.91)
CIE-LCHlch(22.20, 56.03, 313.10°)
OKLaboklab(34.64% 0.0777 -0.1164)
OKLCHoklch(34.64% 0.14 303.7)
XYZxyz(6.3572, 3.5724, 16.5710)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D73 #46731D
analogous
#1F1D73 #4A1D73 #731D71
triadic
#4A1D73 #734A1D #1D734A
tetradic
#4A1D73 #731F1D #46731D #1D7173
square
#4A1D73 #731F1D #46731D #1D7173
split-complementary
#4A1D73 #71731D #1D731F
monochromatic
#100618 #2B1142 #4A1D73 #6929A4 #893CCE

Accessibility & contrast

On white

12.25
#4A1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4A1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1D73
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D73#FFFFFF#000000##FFFFFF
##4A1D731.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#423246
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4a1d73;
/* rgb */ color: rgb(74, 29, 115);
/* oklch */ color: oklch(34.6% 0.140 303.7);
Tailwind
colors: {
  custom: {
    50: '#815d9c',
    500: '#4a1d73',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d73;
$custom-light: #815d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d73",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 271.395,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34639,
    "c": 0.13998,
    "h": 303.7
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#4A1D73
secondary
#74A745
accent
#E34590
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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