#4B1A97#4B1A97

#4B1A97 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.183 H 293.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#4B1A97
RGBrgb(75, 26, 151)
HSLhsl(264, 71%, 35%)
HSVhsv(264, 83%, 59%)
CMYKcmyk(50.3%, 82.8%, 0%, 40.8%)
CIE-LABlab(25.16, 49.24, -58.69)
CIE-LCHlch(25.16, 76.61, 310.00°)
OKLaboklab(37.75% 0.0717 -0.1685)
OKLCHoklch(37.75% 0.183 293)
XYZxyz(8.8554, 4.4687, 29.6681)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1A97 #66971A
analogous
#1A2897 #4B1A97 #8A1A97
triadic
#4B1A97 #974B1A #1A974B
tetradic
#4B1A97 #971A28 #66971A #1A978A
square
#4B1A97 #971A28 #66971A #1A978A
split-complementary
#4B1A97 #978A1A #28971A
monochromatic
#17082F #311163 #4B1A97 #6523CB #864BE0

Accessibility & contrast

On white

11.09
#4B1A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4B1A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1A97
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1A97#FFFFFF#000000##FFFFFF
##4B1A971.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#323F5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b1a97;
/* rgb */ color: rgb(75, 26, 151);
/* oklch */ color: oklch(37.8% 0.183 293.0);
Tailwind
colors: {
  custom: {
    50: '#865eb7',
    500: '#4b1a97',
    950: '#000000',
  },
}
SCSS
$custom: #4b1a97;
$custom-light: #865eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1a97",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 263.52,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.18315,
    "h": 293
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#4B1A97
secondary
#93C24B
accent
#ED3AA7
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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