#4A1253#4A1253

#4A1253 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.120 H 321.8°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4A1253
RGBrgb(74, 18, 83)
HSLhsl(292, 64%, 20%)
HSVhsv(292, 78%, 33%)
CMYKcmyk(10.8%, 78.3%, 0%, 67.5%)
CIE-LABlab(17.98, 35.77, -26.64)
CIE-LCHlch(17.98, 44.60, 323.32°)
OKLaboklab(30.86% 0.0945 -0.0745)
OKLCHoklch(30.86% 0.12 321.8)
XYZxyz(4.6015, 2.5132, 8.4247)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1253 #1B5312
analogous
#291253 #4A1253 #53123C
triadic
#4A1253 #534A12 #12534A
tetradic
#4A1253 #532912 #1B5312 #123C53
square
#4A1253 #532912 #1B5312 #123C53
split-complementary
#4A1253 #3C5312 #125329
monochromatic
#160519 #1D0721 #4A1253 #771D85 #A428B8

Accessibility & contrast

On white

13.98
#4A1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4A1253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1253
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1253#FFFFFF#000000##FFFFFF
##4A12531.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#1A2E51
Tritanopia (blue-blind)
#4B1E31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1253;
/* rgb */ color: rgb(74, 18, 83);
/* oklch */ color: oklch(30.9% 0.120 321.8);
Tailwind
colors: {
  custom: {
    50: '#7f5684',
    500: '#4a1253',
    950: '#000000',
  },
}
SCSS
$custom: #4a1253;
$custom-light: #7f5684;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1253",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 291.692,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30858,
    "c": 0.1203,
    "h": 321.8
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#4A1253
secondary
#418C35
accent
#E74058
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1253

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

Preview Lab → · Contrast checker → · Palette generator →

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