#4C2597#4C2597

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

Color values

HEX#4C2597
RGBrgb(76, 37, 151)
HSLhsl(261, 61%, 37%)
HSVhsv(261, 75%, 59%)
CMYKcmyk(49.7%, 75.5%, 0%, 40.8%)
CIE-LABlab(27.00, 44.45, -55.67)
CIE-LCHlch(27.00, 71.24, 308.60°)
OKLaboklab(39.06% 0.0647 -0.1598)
OKLCHoklch(39.06% 0.172 292)
XYZxyz(9.2264, 5.0937, 29.7692)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2597 #709725
analogous
#253797 #4C2597 #852597
triadic
#4C2597 #974C25 #25974C
tetradic
#4C2597 #972537 #709725 #259785
square
#4C2597 #972537 #709725 #259785
split-complementary
#4C2597 #978525 #379725
monochromatic
#1B0D35 #331966 #4C2597 #6531C8 #885FD8

Accessibility & contrast

On white

10.40
#4C2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2597
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2597#FFFFFF#000000##FFFFFF
##4C25971.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c2597;
/* rgb */ color: rgb(76, 37, 151);
/* oklch */ color: oklch(39.1% 0.172 292.0);
Tailwind
colors: {
  custom: {
    50: '#8664b7',
    500: '#4c2597',
    950: '#000000',
  },
}
SCSS
$custom: #4c2597;
$custom-light: #8664b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2597",
  "rgb": {
    "r": 76,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 260.526,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39059,
    "c": 0.17236,
    "h": 292
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#4C2597
secondary
#9BBD5B
accent
#E444AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2597

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

Preview Lab → · Contrast checker → · Palette generator →

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