#4A0F5F#4A0F5F

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

Color values

HEX#4A0F5F
RGBrgb(74, 15, 95)
HSLhsl(284, 73%, 22%)
HSVhsv(284, 84%, 37%)
CMYKcmyk(22.1%, 84.2%, 0%, 62.7%)
CIE-LABlab(18.47, 39.52, -33.90)
CIE-LCHlch(18.47, 52.06, 319.38°)
OKLaboklab(31.49% 0.0959 -0.0957)
OKLCHoklch(31.49% 0.135 315)
XYZxyz(5.0601, 2.6239, 11.0642)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F5F #245F0F
analogous
#220F5F #4A0F5F #5F0F4C
triadic
#4A0F5F #5F4A0F #0F5F4A
tetradic
#4A0F5F #5F220F #245F0F #0F4C5F
square
#4A0F5F #5F220F #245F0F #0F4C5F
split-complementary
#4A0F5F #4C5F0F #0F5F22
monochromatic
#15041A #21072A #4A0F5F #731794 #9C20C9

Accessibility & contrast

On white

13.77
#4A0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F5F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F5F#FFFFFF#000000##FFFFFF
##4A0F5F1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#0A2E5D
Tritanopia (blue-blind)
#482237
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a0f5f;
/* rgb */ color: rgb(74, 15, 95);
/* oklch */ color: oklch(31.5% 0.135 315.0);
Tailwind
colors: {
  custom: {
    50: '#80568d',
    500: '#4a0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f5f;
$custom-light: #80568d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f5f",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 284.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31491,
    "c": 0.13547,
    "h": 315
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#4A0F5F
secondary
#4D9832
accent
#EF3868
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4A0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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