#4B1474#4B1474

#4B1474 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.152 H 305.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4B1474
RGBrgb(75, 20, 116)
HSLhsl(274, 71%, 27%)
HSVhsv(274, 83%, 45%)
CMYKcmyk(35.3%, 82.8%, 0%, 54.5%)
CIE-LABlab(21.05, 42.71, -43.43)
CIE-LCHlch(21.05, 60.91, 314.52°)
OKLaboklab(33.88% 0.0877 -0.1237)
OKLCHoklch(33.88% 0.152 305.3)
XYZxyz(6.3035, 3.2572, 16.8162)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1474 #3D7414
analogous
#1B1474 #4B1474 #74146D
triadic
#4B1474 #744B14 #14744B
tetradic
#4B1474 #741B14 #3D7414 #146D74
square
#4B1474 #741B14 #3D7414 #146D74
split-complementary
#4B1474 #6D7414 #14741B
monochromatic
#11051A #290B40 #4B1474 #6D1DA8 #8E28DA

Accessibility & contrast

On white

12.72
#4B1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4B1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1474
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1474#FFFFFF#000000##FFFFFF
##4B14741.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#432D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1474;
/* rgb */ color: rgb(75, 20, 116);
/* oklch */ color: oklch(33.9% 0.152 305.3);
Tailwind
colors: {
  custom: {
    50: '#82599d',
    500: '#4b1474',
    950: '#000000',
  },
}
SCSS
$custom: #4b1474;
$custom-light: #82599d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1474",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 274.375,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33882,
    "c": 0.15169,
    "h": 305.3
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#4B1474
secondary
#6AAA3A
accent
#ED3A87
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1474

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

Preview Lab → · Contrast checker → · Palette generator →

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