#4A0F60#4A0F60

#4A0F60 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.6% C 0.136 H 314.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4A0F60
RGBrgb(74, 15, 96)
HSLhsl(284, 73%, 22%)
HSVhsv(284, 84%, 38%)
CMYKcmyk(22.9%, 84.4%, 0%, 62.4%)
CIE-LABlab(18.55, 39.74, -34.43)
CIE-LCHlch(18.55, 52.58, 319.09°)
OKLaboklab(31.57% 0.0957 -0.0973)
OKLCHoklch(31.57% 0.136 314.5)
XYZxyz(5.1058, 2.6422, 11.3051)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F60 #25600F
analogous
#220F60 #4A0F60 #600F4E
triadic
#4A0F60 #604A0F #0F604A
tetradic
#4A0F60 #60220F #25600F #0F4E60
square
#4A0F60 #60220F #25600F #0F4E60
split-complementary
#4A0F60 #4E600F #0F6022
monochromatic
#14041A #21072B #4A0F60 #731795 #9C20CA

Accessibility & contrast

On white

13.74
#4A0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4A0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F60
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F60#FFFFFF#000000##FFFFFF
##4A0F601.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#092F5E
Tritanopia (blue-blind)
#482238
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a0f60;
/* rgb */ color: rgb(74, 15, 96);
/* oklch */ color: oklch(31.6% 0.136 314.5);
Tailwind
colors: {
  custom: {
    50: '#80568e',
    500: '#4a0f60',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f60;
$custom-light: #80568e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f60",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 283.704,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31573,
    "c": 0.13644,
    "h": 314.5
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#4A0F60
secondary
#4E9932
accent
#F0386A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4A0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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