#4A1A67#4A1A67

#4A1A67 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.130 H 309.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4A1A67
RGBrgb(74, 26, 103)
HSLhsl(277, 60%, 25%)
HSVhsv(277, 75%, 40%)
CMYKcmyk(28.2%, 74.8%, 0%, 59.6%)
CIE-LABlab(20.73, 36.73, -35.52)
CIE-LCHlch(20.73, 51.09, 315.95°)
OKLaboklab(33.29% 0.0831 -0.1006)
OKLCHoklch(33.29% 0.13 309.6)
XYZxyz(5.6411, 3.1740, 13.1448)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1A67 #37671A
analogous
#241A67 #4A1A67 #671A5D
triadic
#4A1A67 #674A1A #1A674A
tetradic
#4A1A67 #67241A #37671A #1A5D67
square
#4A1A67 #67241A #37671A #1A5D67
split-complementary
#4A1A67 #5D671A #1A6724
monochromatic
#120618 #270E36 #4A1A67 #6D2698 #9033C9

Accessibility & contrast

On white

12.85
#4A1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4A1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1A67
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1A67#FFFFFF#000000##FFFFFF
##4A1A671.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#0A3365
Tritanopia (blue-blind)
#462B3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1a67;
/* rgb */ color: rgb(74, 26, 103);
/* oklch */ color: oklch(33.3% 0.130 309.6);
Tailwind
colors: {
  custom: {
    50: '#805b93',
    500: '#4a1a67',
    950: '#000000',
  },
}
SCSS
$custom: #4a1a67;
$custom-light: #805b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1a67",
  "rgb": {
    "r": 74,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 277.403,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.13047,
    "h": 309.6
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#4A1A67
secondary
#639D40
accent
#E34580
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #4A1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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