#4B1374#4B1374

#4B1374 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.153 H 305.5°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#4B1374
RGBrgb(75, 19, 116)
HSLhsl(275, 72%, 26%)
HSVhsv(275, 84%, 45%)
CMYKcmyk(35.3%, 83.6%, 0%, 54.5%)
CIE-LABlab(20.91, 43.09, -43.65)
CIE-LCHlch(20.91, 61.33, 314.63°)
OKLaboklab(33.79% 0.0886 -0.1244)
OKLCHoklch(33.79% 0.153 305.5)
XYZxyz(6.2862, 3.2226, 16.8105)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1374 #3C7413
analogous
#1B1374 #4B1374 #74136D
triadic
#4B1374 #744B13 #13744B
tetradic
#4B1374 #741B13 #3C7413 #136D74
square
#4B1374 #741B13 #3C7413 #136D74
split-complementary
#4B1374 #6D7413 #13741B
monochromatic
#11041A #290A3F #4B1374 #6D1CA9 #8F26DB

Accessibility & contrast

On white

12.77
#4B1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1374
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1374#FFFFFF#000000##FFFFFF
##4B13741.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1374;
/* rgb */ color: rgb(75, 19, 116);
/* oklch */ color: oklch(33.8% 0.153 305.5);
Tailwind
colors: {
  custom: {
    50: '#82599d',
    500: '#4b1374',
    950: '#000000',
  },
}
SCSS
$custom: #4b1374;
$custom-light: #82599d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1374",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 274.639,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3379,
    "c": 0.15268,
    "h": 305.5
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#4B1374
secondary
#69AA38
accent
#EF3986
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1374

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

Preview Lab → · Contrast checker → · Palette generator →

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