#4A0F5E#4A0F5E

#4A0F5E is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.135 H 315.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#4A0F5E
RGBrgb(74, 15, 94)
HSLhsl(285, 72%, 21%)
HSVhsv(285, 84%, 37%)
CMYKcmyk(21.3%, 84%, 0%, 63.1%)
CIE-LABlab(18.39, 39.30, -33.36)
CIE-LCHlch(18.39, 51.55, 319.67°)
OKLaboklab(31.41% 0.0961 -0.0941)
OKLCHoklch(31.41% 0.135 315.6)
XYZxyz(5.0149, 2.6058, 10.8263)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F5E #235E0F
analogous
#230F5E #4A0F5E #5E0F4B
triadic
#4A0F5E #5E4A0F #0F5E4A
tetradic
#4A0F5E #5E230F #235E0F #0F4B5E
square
#4A0F5E #5E230F #235E0F #0F4B5E
split-complementary
#4A0F5E #4B5E0F #0F5E23
monochromatic
#15041A #200729 #4A0F5E #741793 #9D20C8

Accessibility & contrast

On white

13.80
#4A0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4A0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F5E
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F5E#FFFFFF#000000##FFFFFF
##4A0F5E1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#0C2E5C
Tritanopia (blue-blind)
#482137
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a0f5e;
/* rgb */ color: rgb(74, 15, 94);
/* oklch */ color: oklch(31.4% 0.135 315.6);
Tailwind
colors: {
  custom: {
    50: '#80568c',
    500: '#4a0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f5e;
$custom-light: #80568c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f5e",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 284.81,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3141,
    "c": 0.13451,
    "h": 315.6
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#4A0F5E
secondary
#4B9731
accent
#EF3967
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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