#4B2079#4B2079

#4B2079 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.143 H 301.5°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#4B2079
RGBrgb(75, 32, 121)
HSLhsl(269, 58%, 30%)
HSVhsv(269, 74%, 47%)
CMYKcmyk(38%, 73.6%, 0%, 52.5%)
CIE-LABlab(23.37, 38.57, -42.85)
CIE-LCHlch(23.37, 57.65, 311.99°)
OKLaboklab(35.65% 0.0748 -0.1221)
OKLCHoklch(35.65% 0.143 301.5)
XYZxyz(6.8685, 3.9093, 18.4782)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2079 #4E7920
analogous
#202179 #4B2079 #782079
triadic
#4B2079 #794B20 #20794B
tetradic
#4B2079 #792021 #4E7920 #207978
square
#4B2079 #792021 #4E7920 #207978
split-complementary
#4B2079 #797820 #217920
monochromatic
#0F0618 #2D1349 #4B2079 #692DA9 #8745CE

Accessibility & contrast

On white

11.79
#4B2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4B2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2079
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2079#FFFFFF#000000##FFFFFF
##4B20791.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#41354A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b2079;
/* rgb */ color: rgb(75, 32, 121);
/* oklch */ color: oklch(35.7% 0.143 301.5);
Tailwind
colors: {
  custom: {
    50: '#825fa0',
    500: '#4b2079',
    950: '#000000',
  },
}
SCSS
$custom: #4b2079;
$custom-light: #825fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2079",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 268.989,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.35652,
    "c": 0.14322,
    "h": 301.5
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#4B2079
secondary
#7CAC49
accent
#E14697
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #4B2079

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

Preview Lab → · Contrast checker → · Palette generator →

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