#4B1E7D#4B1E7D

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

Color values

HEX#4B1E7D
RGBrgb(75, 30, 125)
HSLhsl(268, 61%, 30%)
HSVhsv(268, 76%, 49%)
CMYKcmyk(40%, 76%, 0%, 51%)
CIE-LABlab(23.35, 40.61, -45.42)
CIE-LCHlch(23.35, 60.93, 311.80°)
OKLaboklab(35.75% 0.0761 -0.1296)
OKLCHoklch(35.75% 0.15 300.4)
XYZxyz(7.0667, 3.9050, 19.7795)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E7D #507D1E
analogous
#1E217D #4B1E7D #7A1E7D
triadic
#4B1E7D #7D4B1E #1E7D4B
tetradic
#4B1E7D #7D1E21 #507D1E #1E7D7A
square
#4B1E7D #7D1E21 #507D1E #1E7D7A
split-complementary
#4B1E7D #7D7A1E #217D1E
monochromatic
#10061A #2D124C #4B1E7D #692AAE #8743D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B1E7D#FFFFFF#000000##FFFFFF
##4B1E7D1.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)
#003780
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#40364C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b1e7d;
/* rgb */ color: rgb(75, 30, 125);
/* oklch */ color: oklch(35.7% 0.150 300.4);
Tailwind
colors: {
  custom: {
    50: '#825ea3',
    500: '#4b1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e7d;
$custom-light: #825ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e7d",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 268.421,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35747,
    "c": 0.15033,
    "h": 300.4
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#4B1E7D
secondary
#7EB046
accent
#E44398
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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