#4A2499#4A2499

#4A2499 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.176 H 290.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4A2499
RGBrgb(74, 36, 153)
HSLhsl(259, 62%, 37%)
HSVhsv(259, 76%, 60%)
CMYKcmyk(51.6%, 76.5%, 0%, 40%)
CIE-LABlab(26.78, 45.19, -57.26)
CIE-LCHlch(26.78, 72.94, 308.28°)
OKLaboklab(38.91% 0.0619 -0.1645)
OKLCHoklch(38.91% 0.176 290.6)
XYZxyz(9.2030, 5.0171, 30.6143)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2499 #739924
analogous
#243999 #4A2499 #852499
triadic
#4A2499 #994A24 #24994A
tetradic
#4A2499 #992439 #739924 #249985
square
#4A2499 #992439 #739924 #249985
split-complementary
#4A2499 #998524 #399924
monochromatic
#1A0D36 #321867 #4A2499 #6230CB #865ED9

Accessibility & contrast

On white

10.48
#4A2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4A2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2499
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2499#FFFFFF#000000##FFFFFF
##4A24991.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#2E445D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2499;
/* rgb */ color: rgb(74, 36, 153);
/* oklch */ color: oklch(38.9% 0.176 290.6);
Tailwind
colors: {
  custom: {
    50: '#8563b8',
    500: '#4a2499',
    950: '#000000',
  },
}
SCSS
$custom: #4a2499;
$custom-light: #8563b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2499",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 259.487,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.17576,
    "h": 290.6
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#4A2499
secondary
#9EBE5B
accent
#E543B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2499

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

Preview Lab → · Contrast checker → · Palette generator →

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