#4B1E72#4B1E72

#4B1E72 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.138 H 304.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#4B1E72
RGBrgb(75, 30, 114)
HSLhsl(272, 58%, 28%)
HSVhsv(272, 74%, 45%)
CMYKcmyk(34.2%, 73.7%, 0%, 55.3%)
CIE-LABlab(22.44, 37.75, -39.88)
CIE-LCHlch(22.44, 54.91, 313.43°)
OKLaboklab(34.81% 0.0783 -0.1134)
OKLCHoklch(34.81% 0.138 304.6)
XYZxyz(6.4025, 3.6393, 16.2815)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E72 #45721E
analogous
#211E72 #4B1E72 #721E6F
triadic
#4B1E72 #724B1E #1E724B
tetradic
#4B1E72 #72211E #45721E #1E6F72
square
#4B1E72 #72211E #45721E #1E6F72
split-complementary
#4B1E72 #6F721E #1E7221
monochromatic
#100618 #2B1142 #4B1E72 #6B2BA2 #8A3ECC

Accessibility & contrast

On white

12.15
#4B1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4B1E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E72
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E72#FFFFFF#000000##FFFFFF
##4B1E721.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#443246
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b1e72;
/* rgb */ color: rgb(75, 30, 114);
/* oklch */ color: oklch(34.8% 0.138 304.6);
Tailwind
colors: {
  custom: {
    50: '#815e9b',
    500: '#4b1e72',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e72;
$custom-light: #815e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e72",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 272.143,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34813,
    "c": 0.13777,
    "h": 304.6
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#4B1E72
secondary
#72A646
accent
#E2468E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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