#4A0F55#4A0F55

#4A0F55 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.126 H 320.7°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#4A0F55
RGBrgb(74, 15, 85)
HSLhsl(291, 70%, 20%)
HSVhsv(291, 82%, 33%)
CMYKcmyk(12.9%, 82.4%, 0%, 66.7%)
CIE-LABlab(17.71, 37.37, -28.43)
CIE-LCHlch(17.71, 46.96, 322.74°)
OKLaboklab(30.71% 0.0975 -0.0797)
OKLCHoklch(30.71% 0.126 320.7)
XYZxyz(4.6344, 2.4536, 8.8221)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F55 #1A550F
analogous
#270F55 #4A0F55 #550F3D
triadic
#4A0F55 #554A0F #0F554A
tetradic
#4A0F55 #55270F #1A550F #0F3D55
square
#4A0F55 #55270F #1A550F #0F3D55
split-complementary
#4A0F55 #3D550F #0F5527
monochromatic
#17051A #1D0621 #4A0F55 #771889 #A521BD

Accessibility & contrast

On white

14.09
#4A0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4A0F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F55
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F55#FFFFFF#000000##FFFFFF
##4A0F551.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#172D53
Tritanopia (blue-blind)
#4A1D31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a0f55;
/* rgb */ color: rgb(74, 15, 85);
/* oklch */ color: oklch(30.7% 0.126 320.7);
Tailwind
colors: {
  custom: {
    50: '#7f5585',
    500: '#4a0f55',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f55;
$custom-light: #7f5585;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f55",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 290.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30711,
    "c": 0.12589,
    "h": 320.7
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#4A0F55
secondary
#408F31
accent
#ED3B57
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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