#4B2597#4B2597

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

Color values

HEX#4B2597
RGBrgb(75, 37, 151)
HSLhsl(260, 61%, 37%)
HSVhsv(260, 75%, 59%)
CMYKcmyk(50.3%, 75.5%, 0%, 40.8%)
CIE-LABlab(26.89, 44.29, -55.86)
CIE-LCHlch(26.89, 71.29, 308.41°)
OKLaboklab(38.95% 0.0632 -0.1604)
OKLCHoklch(38.95% 0.172 291.5)
XYZxyz(9.1476, 5.0530, 29.7655)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2597 #719725
analogous
#253897 #4B2597 #842597
triadic
#4B2597 #974B25 #25974B
tetradic
#4B2597 #972538 #719725 #259784
square
#4B2597 #972538 #719725 #259784
split-complementary
#4B2597 #978425 #389725
monochromatic
#1A0D35 #331966 #4B2597 #6331C8 #875FD8

Accessibility & contrast

On white

10.44
#4B2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4B2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2597
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2597#FFFFFF#000000##FFFFFF
##4B25971.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#32445C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2597;
/* rgb */ color: rgb(75, 37, 151);
/* oklch */ color: oklch(39.0% 0.172 291.5);
Tailwind
colors: {
  custom: {
    50: '#8564b7',
    500: '#4b2597',
    950: '#000000',
  },
}
SCSS
$custom: #4b2597;
$custom-light: #8564b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2597",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 260,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38951,
    "c": 0.17235,
    "h": 291.5
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#4B2597
secondary
#9CBD5B
accent
#E444AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2597

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

Preview Lab → · Contrast checker → · Palette generator →

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