#4A1264#4A1264

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

Color values

HEX#4A1264
RGBrgb(74, 18, 100)
HSLhsl(281, 69%, 23%)
HSVhsv(281, 82%, 39%)
CMYKcmyk(26%, 82%, 0%, 60.8%)
CIE-LABlab(19.26, 39.52, -35.93)
CIE-LCHlch(19.26, 53.41, 317.72°)
OKLaboklab(32.17% 0.0921 -0.1017)
OKLCHoklch(32.17% 0.137 312.2)
XYZxyz(5.3402, 2.8087, 12.3149)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1264 #2C6412
analogous
#211264 #4A1264 #641255
triadic
#4A1264 #644A12 #12644A
tetradic
#4A1264 #642112 #2C6412 #125564
square
#4A1264 #642112 #2C6412 #125564
split-complementary
#4A1264 #556412 #126421
monochromatic
#13051A #240930 #4A1264 #701B98 #9725CC

Accessibility & contrast

On white

13.45
#4A1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1264
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1264#FFFFFF#000000##FFFFFF
##4A12641.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#043062
Tritanopia (blue-blind)
#47263B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1264;
/* rgb */ color: rgb(74, 18, 100);
/* oklch */ color: oklch(32.2% 0.137 312.2);
Tailwind
colors: {
  custom: {
    50: '#805791',
    500: '#4a1264',
    950: '#000000',
  },
}
SCSS
$custom: #4a1264;
$custom-light: #805791;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1264",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 280.976,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32174,
    "c": 0.13718,
    "h": 312.2
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#4A1264
secondary
#569C36
accent
#EC3B74
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4A1264

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

Preview Lab → · Contrast checker → · Palette generator →

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