#4B1D90#4B1D90

#4B1D90 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.173 H 294.6°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#4B1D90
RGBrgb(75, 29, 144)
HSLhsl(264, 66%, 34%)
HSVhsv(264, 80%, 56%)
CMYKcmyk(47.9%, 79.9%, 0%, 43.5%)
CIE-LABlab(24.91, 46.13, -54.77)
CIE-LCHlch(24.91, 71.61, 310.10°)
OKLaboklab(37.37% 0.0718 -0.1571)
OKLCHoklch(37.37% 0.173 294.6)
XYZxyz(8.3737, 4.3880, 26.7859)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D90 #62901D
analogous
#1D2990 #4B1D90 #851D90
triadic
#4B1D90 #904B1D #1D904B
tetradic
#4B1D90 #901D29 #62901D #1D9085
square
#4B1D90 #901D29 #62901D #1D9085
split-complementary
#4B1D90 #90851D #29901D
monochromatic
#16082A #30135D #4B1D90 #6627C3 #854CDB

Accessibility & contrast

On white

11.18
#4B1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4B1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1D90
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1D90#FFFFFF#000000##FFFFFF
##4B1D901.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#363D56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b1d90;
/* rgb */ color: rgb(75, 29, 144);
/* oklch */ color: oklch(37.4% 0.173 294.6);
Tailwind
colors: {
  custom: {
    50: '#855fb2',
    500: '#4b1d90',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d90;
$custom-light: #855fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d90",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 264,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37371,
    "c": 0.17274,
    "h": 294.6
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#4B1D90
secondary
#90BD4B
accent
#E93EA5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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