#4A1362#4A1362

#4A1362 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.134 H 313.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#4A1362
RGBrgb(74, 19, 98)
HSLhsl(282, 68%, 23%)
HSVhsv(282, 81%, 38%)
CMYKcmyk(24.5%, 80.6%, 0%, 61.6%)
CIE-LABlab(19.24, 38.66, -34.64)
CIE-LCHlch(19.24, 51.91, 318.14°)
OKLaboklab(32.11% 0.0915 -0.0979)
OKLCHoklch(32.11% 0.134 313)
XYZxyz(5.2611, 2.8036, 11.8169)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1362 #2B6213
analogous
#221362 #4A1362 #621352
triadic
#4A1362 #624A13 #13624A
tetradic
#4A1362 #622213 #2B6213 #135262
square
#4A1362 #622213 #2B6213 #135262
split-complementary
#4A1362 #526213 #136222
monochromatic
#13051A #23092F #4A1362 #711D95 #9727C9

Accessibility & contrast

On white

13.46
#4A1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4A1362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1362
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1362#FFFFFF#000000##FFFFFF
##4A13621.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#0A3060
Tritanopia (blue-blind)
#47253A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1362;
/* rgb */ color: rgb(74, 19, 98);
/* oklch */ color: oklch(32.1% 0.134 313.0);
Tailwind
colors: {
  custom: {
    50: '#80588f',
    500: '#4a1362',
    950: '#000000',
  },
}
SCSS
$custom: #4a1362;
$custom-light: #80588f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1362",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 281.772,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32109,
    "c": 0.13402,
    "h": 313
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#4A1362
secondary
#559A37
accent
#EA3D72
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A1362

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

Preview Lab → · Contrast checker → · Palette generator →

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