#4B2579#4B2579

#4B2579 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.136 H 300.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#4B2579
RGBrgb(75, 37, 121)
HSLhsl(267, 53%, 31%)
HSVhsv(267, 69%, 47%)
CMYKcmyk(38%, 69.4%, 0%, 52.5%)
CIE-LABlab(24.32, 35.93, -41.31)
CIE-LCHlch(24.32, 54.75, 311.01°)
OKLaboklab(36.33% 0.0692 -0.1176)
OKLCHoklch(36.33% 0.136 300.5)
XYZxyz(7.0136, 4.1994, 18.5265)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2579 #537925
analogous
#252979 #4B2579 #752579
triadic
#4B2579 #794B25 #25794B
tetradic
#4B2579 #792529 #537925 #257975
square
#4B2579 #792529 #537925 #257975
split-complementary
#4B2579 #797525 #297925
monochromatic
#11081B #2E174A #4B2579 #6833A8 #864FC9

Accessibility & contrast

On white

11.41
#4B2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2579
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2579#FFFFFF#000000##FFFFFF
##4B25791.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#41384B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2579;
/* rgb */ color: rgb(75, 37, 121);
/* oklch */ color: oklch(36.3% 0.136 300.5);
Tailwind
colors: {
  custom: {
    50: '#8162a0',
    500: '#4b2579',
    950: '#000000',
  },
}
SCSS
$custom: #4b2579;
$custom-light: #8162a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2579",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 267.143,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36331,
    "c": 0.13644,
    "h": 300.5
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#4B2579
secondary
#81AB4E
accent
#DD4B9B
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #4B2579

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

Preview Lab → · Contrast checker → · Palette generator →

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