#4A1760#4A1760

#4A1760 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.127 H 313.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#4A1760
RGBrgb(74, 23, 96)
HSLhsl(282, 61%, 23%)
HSVhsv(282, 76%, 38%)
CMYKcmyk(22.9%, 76%, 0%, 62.4%)
CIE-LABlab(19.69, 36.46, -32.59)
CIE-LCHlch(19.69, 48.90, 318.21°)
OKLaboklab(32.38% 0.0875 -0.0919)
OKLCHoklch(32.38% 0.127 313.6)
XYZxyz(5.2414, 2.9133, 11.3503)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1760 #2D6017
analogous
#251760 #4A1760 #601751
triadic
#4A1760 #604A17 #17604A
tetradic
#4A1760 #602517 #2D6017 #175160
square
#4A1760 #602517 #2D6017 #175160
split-complementary
#4A1760 #516017 #176025
monochromatic
#130619 #240B2F #4A1760 #702391 #962FC3

Accessibility & contrast

On white

13.27
#4A1760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4A1760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1760
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1760#FFFFFF#000000##FFFFFF
##4A17601.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#12315E
Tritanopia (blue-blind)
#48273A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1760;
/* rgb */ color: rgb(74, 23, 96);
/* oklch */ color: oklch(32.4% 0.127 313.6);
Tailwind
colors: {
  custom: {
    50: '#7f598e',
    500: '#4a1760',
    950: '#000000',
  },
}
SCSS
$custom: #4a1760;
$custom-light: #7f598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1760",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 281.918,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32381,
    "c": 0.12692,
    "h": 313.6
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#4A1760
secondary
#57973C
accent
#E44374
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A1760

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

Preview Lab → · Contrast checker → · Palette generator →

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