#4A1D93#4A1D93

#4A1D93 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.176 H 293.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4A1D93
RGBrgb(74, 29, 147)
HSLhsl(263, 67%, 35%)
HSVhsv(263, 80%, 58%)
CMYKcmyk(49.7%, 80.3%, 0%, 42.4%)
CIE-LABlab(25.08, 46.78, -56.37)
CIE-LCHlch(25.08, 73.25, 309.69°)
OKLaboklab(37.54% 0.0693 -0.1618)
OKLCHoklch(37.54% 0.176 293.2)
XYZxyz(8.5284, 4.4409, 28.0059)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D93 #66931D
analogous
#1D2B93 #4A1D93 #851D93
triadic
#4A1D93 #934A1D #1D934A
tetradic
#4A1D93 #931D2B #66931D #1D9385
square
#4A1D93 #931D2B #66931D #1D9385
split-complementary
#4A1D93 #93851D #2B931D
monochromatic
#17092D #301360 #4A1D93 #6427C6 #844EDC

Accessibility & contrast

On white

11.12
#4A1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4A1D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1D93
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D93#FFFFFF#000000##FFFFFF
##4A1D931.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#333F58
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a1d93;
/* rgb */ color: rgb(74, 29, 147);
/* oklch */ color: oklch(37.5% 0.176 293.2);
Tailwind
colors: {
  custom: {
    50: '#855fb4',
    500: '#4a1d93',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d93;
$custom-light: #855fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d93",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 262.881,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37544,
    "c": 0.17601,
    "h": 293.2
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#4A1D93
secondary
#93BF4D
accent
#EA3EA8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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