#4A1C95#4A1C95

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

Color values

HEX#4A1C95
RGBrgb(74, 28, 149)
HSLhsl(263, 68%, 35%)
HSVhsv(263, 81%, 58%)
CMYKcmyk(50.3%, 81.2%, 0%, 41.6%)
CIE-LABlab(25.13, 47.75, -57.52)
CIE-LCHlch(25.13, 74.76, 309.69°)
OKLaboklab(37.64% 0.0694 -0.1652)
OKLCHoklch(37.64% 0.179 292.8)
XYZxyz(8.6626, 4.4560, 28.8316)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1C95 #67951C
analogous
#1C2A95 #4A1C95 #871C95
triadic
#4A1C95 #954A1C #1C954A
tetradic
#4A1C95 #951C2A #67951C #1C9587
square
#4A1C95 #951C2A #67951C #1C9587
split-complementary
#4A1C95 #95871C #2A951C
monochromatic
#17092E #301261 #4A1C95 #6426C9 #844EDE

Accessibility & contrast

On white

11.10
#4A1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1C95
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1C95#FFFFFF#000000##FFFFFF
##4A1C951.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1c95;
/* rgb */ color: rgb(74, 28, 149);
/* oklch */ color: oklch(37.6% 0.179 292.8);
Tailwind
colors: {
  custom: {
    50: '#855fb5',
    500: '#4a1c95',
    950: '#000000',
  },
}
SCSS
$custom: #4a1c95;
$custom-light: #855fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1c95",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 262.81,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37636,
    "c": 0.17916,
    "h": 292.8
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#4A1C95
secondary
#94C04D
accent
#EB3DA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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