#4B2479#4B2479

#4B2479 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.138 H 300.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#4B2479
RGBrgb(75, 36, 121)
HSLhsl(268, 54%, 31%)
HSVhsv(268, 70%, 47%)
CMYKcmyk(38%, 70.2%, 0%, 52.5%)
CIE-LABlab(24.12, 36.47, -41.63)
CIE-LCHlch(24.12, 55.34, 311.22°)
OKLaboklab(36.19% 0.0703 -0.1185)
OKLCHoklch(36.19% 0.138 300.7)
XYZxyz(6.9829, 4.1380, 18.5163)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2479 #527924
analogous
#242879 #4B2479 #752479
triadic
#4B2479 #794B24 #24794B
tetradic
#4B2479 #792428 #527924 #247975
square
#4B2479 #792428 #527924 #247975
split-complementary
#4B2479 #797524 #287924
monochromatic
#11081B #2E164A #4B2479 #6832A8 #874DCA

Accessibility & contrast

On white

11.49
#4B2479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B2479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2479
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2479#FFFFFF#000000##FFFFFF
##4B24791.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2479;
/* rgb */ color: rgb(75, 36, 121);
/* oklch */ color: oklch(36.2% 0.138 300.7);
Tailwind
colors: {
  custom: {
    50: '#8162a0',
    500: '#4b2479',
    950: '#000000',
  },
}
SCSS
$custom: #4b2479;
$custom-light: #8162a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2479",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 267.529,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36189,
    "c": 0.13783,
    "h": 300.7
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#4B2479
secondary
#80AC4D
accent
#DE4A9A
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #4B2479

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

Preview Lab → · Contrast checker → · Palette generator →

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