#4A1462#4A1462

#4A1462 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.133 H 312.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4A1462
RGBrgb(74, 20, 98)
HSLhsl(282, 66%, 23%)
HSVhsv(282, 80%, 38%)
CMYKcmyk(24.5%, 79.6%, 0%, 61.6%)
CIE-LABlab(19.38, 38.24, -34.41)
CIE-LCHlch(19.38, 51.45, 318.02°)
OKLaboklab(32.21% 0.0905 -0.0973)
OKLCHoklch(32.21% 0.133 312.9)
XYZxyz(5.2784, 2.8382, 11.8227)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1462 #2C6214
analogous
#231462 #4A1462 #621453
triadic
#4A1462 #624A14 #14624A
tetradic
#4A1462 #622314 #2C6214 #145362
square
#4A1462 #622314 #2C6214 #145362
split-complementary
#4A1462 #536214 #146223
monochromatic
#130519 #240A2F #4A1462 #701E95 #9729C8

Accessibility & contrast

On white

13.40
#4A1462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4A1462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1462
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1462#FFFFFF#000000##FFFFFF
##4A14621.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1462;
/* rgb */ color: rgb(74, 20, 98);
/* oklch */ color: oklch(32.2% 0.133 312.9);
Tailwind
colors: {
  custom: {
    50: '#80588f',
    500: '#4a1462',
    950: '#000000',
  },
}
SCSS
$custom: #4a1462;
$custom-light: #80588f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1462",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 281.538,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3221,
    "c": 0.13283,
    "h": 312.9
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#4A1462
secondary
#569938
accent
#E93F73
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A1462

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

Preview Lab → · Contrast checker → · Palette generator →

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