#4B1A90#4B1A90

#4B1A90 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.176 H 295.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4B1A90
RGBrgb(75, 26, 144)
HSLhsl(265, 69%, 33%)
HSVhsv(265, 82%, 56%)
CMYKcmyk(47.9%, 81.9%, 0%, 43.5%)
CIE-LABlab(24.47, 47.40, -55.50)
CIE-LCHlch(24.47, 72.98, 310.50°)
OKLaboklab(37.07% 0.0741 -0.1592)
OKLCHoklch(37.07% 0.176 295)
XYZxyz(8.3037, 4.2480, 26.7626)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1A90 #5F901A
analogous
#1A2490 #4B1A90 #861A90
triadic
#4B1A90 #904B1A #1A904B
tetradic
#4B1A90 #901A24 #5F901A #1A9086
square
#4B1A90 #901A24 #5F901A #1A9086
split-complementary
#4B1A90 #90861A #24901A
monochromatic
#150728 #30115C #4B1A90 #6623C4 #8547DE

Accessibility & contrast

On white

11.35
#4B1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4B1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1A90
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1A90#FFFFFF#000000##FFFFFF
##4B1A901.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#373C56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b1a90;
/* rgb */ color: rgb(75, 26, 144);
/* oklch */ color: oklch(37.1% 0.176 295.0);
Tailwind
colors: {
  custom: {
    50: '#855eb2',
    500: '#4b1a90',
    950: '#000000',
  },
}
SCSS
$custom: #4b1a90;
$custom-light: #855eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1a90",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 264.915,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37065,
    "c": 0.17559,
    "h": 295
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#4B1A90
secondary
#8DBF47
accent
#EC3CA3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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