#4A1C91#4A1C91

#4A1C91 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.175 H 293.9°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#4A1C91
RGBrgb(74, 28, 145)
HSLhsl(264, 68%, 34%)
HSVhsv(264, 81%, 57%)
CMYKcmyk(49%, 80.7%, 0%, 43.1%)
CIE-LABlab(24.73, 46.68, -55.69)
CIE-LCHlch(24.73, 72.67, 309.97°)
OKLaboklab(37.25% 0.0707 -0.1598)
OKLCHoklch(37.25% 0.175 293.9)
XYZxyz(8.3487, 4.3304, 27.1785)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1C91 #63911C
analogous
#1C2991 #4A1C91 #851C91
triadic
#4A1C91 #914A1C #1C914A
tetradic
#4A1C91 #911C29 #63911C #1C9185
square
#4A1C91 #911C29 #63911C #1C9185
split-complementary
#4A1C91 #91851C #29911C
monochromatic
#16082A #30125E #4A1C91 #6426C4 #844BDC

Accessibility & contrast

On white

11.25
#4A1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4A1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1C91
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1C91#FFFFFF#000000##FFFFFF
##4A1C911.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#343D57
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a1c91;
/* rgb */ color: rgb(74, 28, 145);
/* oklch */ color: oklch(37.2% 0.175 293.9);
Tailwind
colors: {
  custom: {
    50: '#845eb2',
    500: '#4a1c91',
    950: '#000000',
  },
}
SCSS
$custom: #4a1c91;
$custom-light: #845eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1c91",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 263.59,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37247,
    "c": 0.17476,
    "h": 293.9
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#4A1C91
secondary
#91BE4A
accent
#EB3DA6
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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