#4A0E55#4A0E55

#4A0E55 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.127 H 320.8°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#4A0E55
RGBrgb(74, 14, 85)
HSLhsl(291, 72%, 19%)
HSVhsv(291, 84%, 33%)
CMYKcmyk(12.9%, 83.5%, 0%, 66.7%)
CIE-LABlab(17.58, 37.74, -28.63)
CIE-LCHlch(17.58, 47.37, 322.81°)
OKLaboklab(30.62% 0.0984 -0.0803)
OKLCHoklch(30.62% 0.127 320.8)
XYZxyz(4.6206, 2.4261, 8.8175)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E55 #19550E
analogous
#270E55 #4A0E55 #550E3D
triadic
#4A0E55 #554A0E #0E554A
tetradic
#4A0E55 #55270E #19550E #0E3D55
square
#4A0E55 #55270E #19550E #0E3D55
split-complementary
#4A0E55 #3D550E #0E5527
monochromatic
#17041A #1C0520 #4A0E55 #78178A #A51FBE

Accessibility & contrast

On white

14.14
#4A0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0E55
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E55#FFFFFF#000000##FFFFFF
##4A0E551.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a0e55;
/* rgb */ color: rgb(74, 14, 85);
/* oklch */ color: oklch(30.6% 0.127 320.8);
Tailwind
colors: {
  custom: {
    50: '#7f5585',
    500: '#4a0e55',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e55;
$custom-light: #7f5585;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e55",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 290.704,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30621,
    "c": 0.12702,
    "h": 320.8
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#4A0E55
secondary
#3E8F30
accent
#EE3955
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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