#4A1358#4A1358

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

Color values

HEX#4A1358
RGBrgb(74, 19, 88)
HSLhsl(288, 64%, 21%)
HSVhsv(288, 78%, 35%)
CMYKcmyk(15.9%, 78.4%, 0%, 65.5%)
CIE-LABlab(18.48, 36.42, -29.21)
CIE-LCHlch(18.48, 46.69, 321.28°)
OKLaboklab(31.33% 0.093 -0.082)
OKLCHoklch(31.33% 0.124 318.6)
XYZxyz(4.8181, 2.6264, 9.4838)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1358 #215813
analogous
#271358 #4A1358 #581343
triadic
#4A1358 #584A13 #13584A
tetradic
#4A1358 #582713 #215813 #134358
square
#4A1358 #582713 #215813 #134358
split-complementary
#4A1358 #435813 #135827
monochromatic
#150519 #200826 #4A1358 #741E8A #9F29BD

Accessibility & contrast

On white

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

On black

1.53
#4A1358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A1358#FFFFFF#000000##FFFFFF
##4A13581.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#172F56
Tritanopia (blue-blind)
#4A2134
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a1358;
/* rgb */ color: rgb(74, 19, 88);
/* oklch */ color: oklch(31.3% 0.124 318.6);
Tailwind
colors: {
  custom: {
    50: '#7f5787',
    500: '#4a1358',
    950: '#000000',
  },
}
SCSS
$custom: #4a1358;
$custom-light: #7f5787;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1358",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 287.826,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3133,
    "c": 0.12394,
    "h": 318.6
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#4A1358
secondary
#499037
accent
#E74062
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1358

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

Preview Lab → · Contrast checker → · Palette generator →

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