#4A1064#4A1064

#4A1064 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 32.0% C 0.139 H 312.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#4A1064
RGBrgb(74, 16, 100)
HSLhsl(281, 72%, 23%)
HSVhsv(281, 84%, 39%)
CMYKcmyk(26%, 84%, 0%, 60.8%)
CIE-LABlab(19.00, 40.27, -36.35)
CIE-LCHlch(19.00, 54.25, 317.93°)
OKLaboklab(31.99% 0.0939 -0.1029)
OKLCHoklch(31.99% 0.139 312.4)
XYZxyz(5.3092, 2.7467, 12.3046)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1064 #2A6410
analogous
#201064 #4A1064 #641054
triadic
#4A1064 #644A10 #10644A
tetradic
#4A1064 #642010 #2A6410 #105464
square
#4A1064 #642010 #2A6410 #105464
split-complementary
#4A1064 #546410 #106420
monochromatic
#14041A #23082F #4A1064 #711899 #9821CE

Accessibility & contrast

On white

13.55
#4A1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4A1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1064
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1064#FFFFFF#000000##FFFFFF
##4A10641.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#022F62
Tritanopia (blue-blind)
#47253A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a1064;
/* rgb */ color: rgb(74, 16, 100);
/* oklch */ color: oklch(32.0% 0.139 312.4);
Tailwind
colors: {
  custom: {
    50: '#805691',
    500: '#4a1064',
    950: '#000000',
  },
}
SCSS
$custom: #4a1064;
$custom-light: #805691;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1064",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 281.429,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3199,
    "c": 0.13932,
    "h": 312.4
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#4A1064
secondary
#549D33
accent
#EF3971
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4A1064

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

Preview Lab → · Contrast checker → · Palette generator →

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