#4A1164#4A1164

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

Color values

HEX#4A1164
RGBrgb(74, 17, 100)
HSLhsl(281, 71%, 23%)
HSVhsv(281, 83%, 39%)
CMYKcmyk(26%, 83%, 0%, 60.8%)
CIE-LABlab(19.13, 39.90, -36.14)
CIE-LCHlch(19.13, 53.84, 317.83°)
OKLaboklab(32.08% 0.093 -0.1023)
OKLCHoklch(32.08% 0.138 312.3)
XYZxyz(5.3243, 2.7770, 12.3097)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1164 #2B6411
analogous
#211164 #4A1164 #641154
triadic
#4A1164 #644A11 #11644A
tetradic
#4A1164 #642111 #2B6411 #115464
square
#4A1164 #642111 #2B6411 #115464
split-complementary
#4A1164 #546411 #116421
monochromatic
#13041A #230830 #4A1164 #711A98 #9723CD

Accessibility & contrast

On white

13.50
#4A1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1164
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1164#FFFFFF#000000##FFFFFF
##4A11641.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#033062
Tritanopia (blue-blind)
#47253A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a1164;
/* rgb */ color: rgb(74, 17, 100);
/* oklch */ color: oklch(32.1% 0.138 312.3);
Tailwind
colors: {
  custom: {
    50: '#805791',
    500: '#4a1164',
    950: '#000000',
  },
}
SCSS
$custom: #4a1164;
$custom-light: #805791;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1164",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 281.205,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3208,
    "c": 0.13828,
    "h": 312.3
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#4A1164
secondary
#559C35
accent
#EE3A72
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4A1164

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

Preview Lab → · Contrast checker → · Palette generator →

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