#4A1D94#4A1D94

#4A1D94 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.177 H 292.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#4A1D94
RGBrgb(74, 29, 148)
HSLhsl(263, 67%, 35%)
HSVhsv(263, 80%, 58%)
CMYKcmyk(50%, 80.4%, 0%, 42%)
CIE-LABlab(25.18, 47.05, -56.83)
CIE-LCHlch(25.18, 73.78, 309.62°)
OKLaboklab(37.64% 0.069 -0.1631)
OKLCHoklch(37.64% 0.177 292.9)
XYZxyz(8.6072, 4.4724, 28.4210)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D94 #67941D
analogous
#1D2C94 #4A1D94 #861D94
triadic
#4A1D94 #944A1D #1D944A
tetradic
#4A1D94 #941D2C #67941D #1D9486
square
#4A1D94 #941D2C #67941D #1D9486
split-complementary
#4A1D94 #94861D #2C941D
monochromatic
#17092E #301361 #4A1D94 #6427C7 #844FDC

Accessibility & contrast

On white

11.08
#4A1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1D94
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D94#FFFFFF#000000##FFFFFF
##4A1D941.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#323F59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a1d94;
/* rgb */ color: rgb(74, 29, 148);
/* oklch */ color: oklch(37.6% 0.177 292.9);
Tailwind
colors: {
  custom: {
    50: '#855fb4',
    500: '#4a1d94',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d94;
$custom-light: #855fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d94",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 262.689,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37641,
    "c": 0.17712,
    "h": 292.9
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#4A1D94
secondary
#94BF4E
accent
#EA3EA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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