#4A0B56#4A0B56

#4A0B56 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.131 H 320.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#4A0B56
RGBrgb(74, 11, 86)
HSLhsl(290, 77%, 19%)
HSVhsv(290, 87%, 34%)
CMYKcmyk(14%, 87.2%, 0%, 66.3%)
CIE-LABlab(17.31, 38.95, -29.75)
CIE-LCHlch(17.31, 49.01, 322.63°)
OKLaboklab(30.45% 0.101 -0.0835)
OKLCHoklch(30.45% 0.131 320.4)
XYZxyz(4.6232, 2.3673, 9.0157)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B56 #17560B
analogous
#250B56 #4A0B56 #560B3D
triadic
#4A0B56 #564A0B #0B564A
tetradic
#4A0B56 #56250B #17560B #0B3D56
square
#4A0B56 #56250B #17560B #0B3D56
split-complementary
#4A0B56 #3D560B #0B5625
monochromatic
#17031B #1B0420 #4A0B56 #79128C #A719C3

Accessibility & contrast

On white

14.25
#4A0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4A0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0B56
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B56#FFFFFF#000000##FFFFFF
##4A0B561.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#142D54
Tritanopia (blue-blind)
#4A1C31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a0b56;
/* rgb */ color: rgb(74, 11, 86);
/* oklch */ color: oklch(30.5% 0.131 320.4);
Tailwind
colors: {
  custom: {
    50: '#805486',
    500: '#4a0b56',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b56;
$custom-light: #805486;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b56",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 290.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30452,
    "c": 0.13103,
    "h": 320.4
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#4A0B56
secondary
#3C912B
accent
#F43453
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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