#4A1960#4A1960

#4A1960 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.124 H 313.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4A1960
RGBrgb(74, 25, 96)
HSLhsl(281, 59%, 24%)
HSVhsv(281, 74%, 38%)
CMYKcmyk(22.9%, 74%, 0%, 62.4%)
CIE-LABlab(20.03, 35.52, -32.05)
CIE-LCHlch(20.03, 47.84, 317.94°)
OKLaboklab(32.62% 0.0852 -0.0904)
OKLCHoklch(32.62% 0.124 313.3)
XYZxyz(5.2826, 2.9958, 11.3640)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1960 #2F6019
analogous
#261960 #4A1960 #601952
triadic
#4A1960 #604A19 #19604A
tetradic
#4A1960 #602619 #2F6019 #195260
square
#4A1960 #602619 #2F6019 #195260
split-complementary
#4A1960 #526019 #196026
monochromatic
#130618 #250C2F #4A1960 #6F2691 #9532C1

Accessibility & contrast

On white

13.13
#4A1960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4A1960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1960
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1960#FFFFFF#000000##FFFFFF
##4A19601.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#14315E
Tritanopia (blue-blind)
#48283A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1960;
/* rgb */ color: rgb(74, 25, 96);
/* oklch */ color: oklch(32.6% 0.124 313.3);
Tailwind
colors: {
  custom: {
    50: '#7f5a8e',
    500: '#4a1960',
    950: '#000000',
  },
}
SCSS
$custom: #4a1960;
$custom-light: #7f5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1960",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 281.408,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32619,
    "c": 0.12418,
    "h": 313.3
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#4A1960
secondary
#5A963F
accent
#E24676
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A1960

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

Preview Lab → · Contrast checker → · Palette generator →

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