#4A1357#4A1357

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

Color values

HEX#4A1357
RGBrgb(74, 19, 87)
HSLhsl(289, 64%, 21%)
HSVhsv(289, 78%, 34%)
CMYKcmyk(14.9%, 78.2%, 0%, 65.9%)
CIE-LABlab(18.41, 36.21, -28.65)
CIE-LCHlch(18.41, 46.17, 321.65°)
OKLaboklab(31.26% 0.093 -0.0804)
OKLCHoklch(31.26% 0.123 319.2)
XYZxyz(4.7770, 2.6099, 9.2671)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1357 #205713
analogous
#281357 #4A1357 #571342
triadic
#4A1357 #574A13 #13574A
tetradic
#4A1357 #572813 #205713 #134257
square
#4A1357 #572813 #205713 #134257
split-complementary
#4A1357 #425713 #135728
monochromatic
#150519 #1F0825 #4A1357 #751E89 #9F29BB

Accessibility & contrast

On white

13.80
#4A1357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1357
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1357#FFFFFF#000000##FFFFFF
##4A13571.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#182F55
Tritanopia (blue-blind)
#4A2034
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a1357;
/* rgb */ color: rgb(74, 19, 87);
/* oklch */ color: oklch(31.3% 0.123 319.2);
Tailwind
colors: {
  custom: {
    50: '#7f5787',
    500: '#4a1357',
    950: '#000000',
  },
}
SCSS
$custom: #4a1357;
$custom-light: #7f5787;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1357",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 288.529,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31255,
    "c": 0.12295,
    "h": 319.2
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#4A1357
secondary
#478F36
accent
#E74160
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1357

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

Preview Lab → · Contrast checker → · Palette generator →

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