#4A1260#4A1260

#4A1260 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.133 H 314.2°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#4A1260
RGBrgb(74, 18, 96)
HSLhsl(283, 68%, 22%)
HSVhsv(283, 81%, 38%)
CMYKcmyk(22.9%, 81.3%, 0%, 62.4%)
CIE-LABlab(18.94, 38.61, -33.80)
CIE-LCHlch(18.94, 51.31, 318.80°)
OKLaboklab(31.85% 0.0929 -0.0955)
OKLCHoklch(31.85% 0.133 314.2)
XYZxyz(5.1513, 2.7332, 11.3203)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1260 #286012
analogous
#231260 #4A1260 #60124F
triadic
#4A1260 #604A12 #12604A
tetradic
#4A1260 #602312 #286012 #124F60
square
#4A1260 #602312 #286012 #124F60
split-complementary
#4A1260 #4F6012 #126023
monochromatic
#14051A #22082C #4A1260 #721C94 #9925C7

Accessibility & contrast

On white

13.58
#4A1260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1260
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1260#FFFFFF#000000##FFFFFF
##4A12601.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#0C2F5E
Tritanopia (blue-blind)
#482438
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a1260;
/* rgb */ color: rgb(74, 18, 96);
/* oklch */ color: oklch(31.8% 0.133 314.2);
Tailwind
colors: {
  custom: {
    50: '#80578e',
    500: '#4a1260',
    950: '#000000',
  },
}
SCSS
$custom: #4a1260;
$custom-light: #80578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1260",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 283.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31849,
    "c": 0.13317,
    "h": 314.2
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#4A1260
secondary
#519836
accent
#EB3D6E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A1260

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

Preview Lab → · Contrast checker → · Palette generator →

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