#4A2597#4A2597

#4A2597 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.172 H 290.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4A2597
RGBrgb(74, 37, 151)
HSLhsl(259, 61%, 37%)
HSVhsv(259, 75%, 59%)
CMYKcmyk(51%, 75.5%, 0%, 40.8%)
CIE-LABlab(26.77, 44.12, -56.05)
CIE-LCHlch(26.77, 71.34, 308.21°)
OKLaboklab(38.85% 0.0616 -0.1609)
OKLCHoklch(38.85% 0.172 290.9)
XYZxyz(9.0699, 5.0130, 29.7619)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2597 #729725
analogous
#253997 #4A2597 #832597
triadic
#4A2597 #974A25 #25974A
tetradic
#4A2597 #972539 #729725 #259783
square
#4A2597 #972539 #729725 #259783
split-complementary
#4A2597 #978325 #399725
monochromatic
#1A0D35 #321966 #4A2597 #6231C8 #865FD8

Accessibility & contrast

On white

10.49
#4A2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2597
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2597#FFFFFF#000000##FFFFFF
##4A25971.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#30445C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2597;
/* rgb */ color: rgb(74, 37, 151);
/* oklch */ color: oklch(38.8% 0.172 290.9);
Tailwind
colors: {
  custom: {
    50: '#8564b7',
    500: '#4a2597',
    950: '#000000',
  },
}
SCSS
$custom: #4a2597;
$custom-light: #8564b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2597",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 259.474,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38845,
    "c": 0.17234,
    "h": 290.9
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#4A2597
secondary
#9DBD5B
accent
#E444B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2597

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

Preview Lab → · Contrast checker → · Palette generator →

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