#4B1E73#4B1E73

#4B1E73 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.139 H 304.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#4B1E73
RGBrgb(75, 30, 115)
HSLhsl(272, 59%, 28%)
HSVhsv(272, 74%, 45%)
CMYKcmyk(34.8%, 73.9%, 0%, 54.9%)
CIE-LABlab(22.52, 38.00, -40.39)
CIE-LCHlch(22.52, 55.46, 313.26°)
OKLaboklab(34.89% 0.0781 -0.1149)
OKLCHoklch(34.89% 0.139 304.2)
XYZxyz(6.4597, 3.6622, 16.5829)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E73 #46731E
analogous
#201E73 #4B1E73 #731E70
triadic
#4B1E73 #734B1E #1E734B
tetradic
#4B1E73 #73201E #46731E #1E7073
square
#4B1E73 #73201E #46731E #1E7073
split-complementary
#4B1E73 #70731E #1E7320
monochromatic
#100618 #2B1142 #4B1E73 #6B2BA4 #8A3FCD

Accessibility & contrast

On white

12.12
#4B1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4B1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E73
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E73#FFFFFF#000000##FFFFFF
##4B1E731.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#433246
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b1e73;
/* rgb */ color: rgb(75, 30, 115);
/* oklch */ color: oklch(34.9% 0.139 304.2);
Tailwind
colors: {
  custom: {
    50: '#815e9c',
    500: '#4b1e73',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e73;
$custom-light: #815e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e73",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 271.765,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34895,
    "c": 0.13892,
    "h": 304.2
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#4B1E73
secondary
#74A746
accent
#E2468F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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