#4A2599#4A2599

#4A2599 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.175 H 290.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#4A2599
RGBrgb(74, 37, 153)
HSLhsl(259, 61%, 37%)
HSVhsv(259, 76%, 60%)
CMYKcmyk(51.6%, 75.8%, 0%, 40%)
CIE-LABlab(26.96, 44.69, -56.97)
CIE-LCHlch(26.96, 72.41, 308.11°)
OKLaboklab(39.03% 0.0611 -0.1636)
OKLCHoklch(39.03% 0.175 290.5)
XYZxyz(9.2337, 5.0785, 30.6245)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2599 #749925
analogous
#253A99 #4A2599 #842599
triadic
#4A2599 #994A25 #25994A
tetradic
#4A2599 #99253A #749925 #259984
square
#4A2599 #99253A #749925 #259984
split-complementary
#4A2599 #998425 #3A9925
monochromatic
#1A0D36 #321968 #4A2599 #6231CA #8660D9

Accessibility & contrast

On white

10.42
#4A2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4A2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2599
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2599#FFFFFF#000000##FFFFFF
##4A25991.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#2E455D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2599;
/* rgb */ color: rgb(74, 37, 153);
/* oklch */ color: oklch(39.0% 0.175 290.5);
Tailwind
colors: {
  custom: {
    50: '#8564b8',
    500: '#4a2599',
    950: '#000000',
  },
}
SCSS
$custom: #4a2599;
$custom-light: #8564b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2599",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 259.138,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39033,
    "c": 0.17469,
    "h": 290.5
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#4A2599
secondary
#9FBE5C
accent
#E444B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2599

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

Preview Lab → · Contrast checker → · Palette generator →

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