#4B1372#4B1372

#4B1372 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.151 H 306.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#4B1372
RGBrgb(75, 19, 114)
HSLhsl(275, 71%, 26%)
HSVhsv(275, 83%, 45%)
CMYKcmyk(34.2%, 83.3%, 0%, 55.3%)
CIE-LABlab(20.74, 42.61, -42.65)
CIE-LCHlch(20.74, 60.28, 314.97°)
OKLaboklab(33.61% 0.0892 -0.1214)
OKLCHoklch(33.61% 0.151 306.3)
XYZxyz(6.1711, 3.1766, 16.2044)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1372 #3A7213
analogous
#1B1372 #4B1372 #721369
triadic
#4B1372 #724B13 #13724B
tetradic
#4B1372 #721B13 #3A7213 #136972
square
#4B1372 #721B13 #3A7213 #136972
split-complementary
#4B1372 #697213 #13721B
monochromatic
#11041A #280A3E #4B1372 #6E1CA6 #9025DB

Accessibility & contrast

On white

12.84
#4B1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4B1372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1372
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1372#FFFFFF#000000##FFFFFF
##4B13721.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#442C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1372;
/* rgb */ color: rgb(75, 19, 114);
/* oklch */ color: oklch(33.6% 0.151 306.3);
Tailwind
colors: {
  custom: {
    50: '#82599b',
    500: '#4b1372',
    950: '#000000',
  },
}
SCSS
$custom: #4b1372;
$custom-light: #82599b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1372",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 275.368,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33612,
    "c": 0.15064,
    "h": 306.3
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#4B1372
secondary
#66A938
accent
#EE3A84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1372

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

Preview Lab → · Contrast checker → · Palette generator →

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