#4B1A73#4B1A73

#4B1A73 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.144 H 304.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#4B1A73
RGBrgb(75, 26, 115)
HSLhsl(273, 63%, 28%)
HSVhsv(273, 77%, 45%)
CMYKcmyk(34.8%, 77.4%, 0%, 54.9%)
CIE-LABlab(21.84, 39.92, -41.49)
CIE-LCHlch(21.84, 57.57, 313.90°)
OKLaboklab(34.42% 0.0824 -0.1181)
OKLCHoklch(34.42% 0.144 304.9)
XYZxyz(6.3649, 3.4725, 16.5513)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1A73 #42731A
analogous
#1F1A73 #4B1A73 #731A6E
triadic
#4B1A73 #734B1A #1A734B
tetradic
#4B1A73 #731F1A #42731A #1A6E73
square
#4B1A73 #731F1A #42731A #1A6E73
split-complementary
#4B1A73 #6E731A #1A731F
monochromatic
#100619 #2A0F41 #4B1A73 #6C25A5 #8C36D2

Accessibility & contrast

On white

12.39
#4B1A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4B1A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1A73
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1A73#FFFFFF#000000##FFFFFF
##4B1A731.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#433045
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b1a73;
/* rgb */ color: rgb(75, 26, 115);
/* oklch */ color: oklch(34.4% 0.144 304.9);
Tailwind
colors: {
  custom: {
    50: '#825c9c',
    500: '#4b1a73',
    950: '#000000',
  },
}
SCSS
$custom: #4b1a73;
$custom-light: #825c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1a73",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 273.034,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34416,
    "c": 0.14397,
    "h": 304.9
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#4B1A73
secondary
#6FA841
accent
#E6428C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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