#4B1FAE#4B1FAE

#4B1FAE is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.5% C 0.204 H 287.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4B1FAE
RGBrgb(75, 31, 174)
HSLhsl(258, 70%, 40%)
HSVhsv(258, 82%, 68%)
CMYKcmyk(56.9%, 82.2%, 0%, 31.8%)
CIE-LABlab(28.20, 53.37, -67.66)
CIE-LCHlch(28.20, 86.18, 308.27°)
OKLaboklab(40.55% 0.0604 -0.1948)
OKLCHoklch(40.55% 0.204 287.2)
XYZxyz(11.0293, 5.5312, 40.5227)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1FAE #82AE1F
analogous
#1F3AAE #4B1FAE #931FAE
triadic
#4B1FAE #AE4B1F #1FAE4B
tetradic
#4B1FAE #AE1F3A #82AE1F #1FAE93
square
#4B1FAE #AE1F3A #82AE1F #1FAE93
split-complementary
#4B1FAE #AE931F #3AAE1F
monochromatic
#1E0C46 #35167A #4B1FAE #6430DA #8B64E3

Accessibility & contrast

On white

9.97
#4B1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4B1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1FAE
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1FAE#FFFFFF#000000##FFFFFF
##4B1FAE1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#1C4B68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b1fae;
/* rgb */ color: rgb(75, 31, 174);
/* oklch */ color: oklch(40.5% 0.204 287.2);
Tailwind
colors: {
  custom: {
    50: '#8962c7',
    500: '#4b1fae',
    950: '#000000',
  },
}
SCSS
$custom: #4b1fae;
$custom-light: #8962c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1fae",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 258.462,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40547,
    "c": 0.20396,
    "h": 287.2
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#4B1FAE
secondary
#A8C860
accent
#ED3BB6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4B1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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