#4B1E79#4B1E79

#4B1E79 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.146 H 301.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#4B1E79
RGBrgb(75, 30, 121)
HSLhsl(270, 60%, 30%)
HSVhsv(270, 75%, 47%)
CMYKcmyk(38%, 75.2%, 0%, 52.5%)
CIE-LABlab(23.02, 39.56, -43.43)
CIE-LCHlch(23.02, 58.75, 312.33°)
OKLaboklab(35.4% 0.077 -0.1238)
OKLCHoklch(35.4% 0.146 301.9)
XYZxyz(6.8163, 3.8049, 18.4608)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E79 #4C791E
analogous
#1E1F79 #4B1E79 #791E79
triadic
#4B1E79 #794B1E #1E794B
tetradic
#4B1E79 #791E1F #4C791E #1E7979
square
#4B1E79 #791E1F #4C791E #1E7979
split-complementary
#4B1E79 #79791E #1F791E
monochromatic
#0F0619 #2D1248 #4B1E79 #692AAA #8841D0

Accessibility & contrast

On white

11.93
#4B1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4B1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E79
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E79#FFFFFF#000000##FFFFFF
##4B1E791.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#413449
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b1e79;
/* rgb */ color: rgb(75, 30, 121);
/* oklch */ color: oklch(35.4% 0.146 301.9);
Tailwind
colors: {
  custom: {
    50: '#825ea0',
    500: '#4b1e79',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e79;
$custom-light: #825ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e79",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 269.67,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35401,
    "c": 0.14578,
    "h": 301.9
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#4B1E79
secondary
#7AAD46
accent
#E34495
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #4B1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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