#4A1C9F#4A1C9F

#4A1C9F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.190 H 290.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#4A1C9F
RGBrgb(74, 28, 159)
HSLhsl(261, 70%, 37%)
HSVhsv(261, 82%, 62%)
CMYKcmyk(53.5%, 82.4%, 0%, 37.6%)
CIE-LABlab(26.13, 50.43, -62.01)
CIE-LCHlch(26.13, 79.93, 309.12°)
OKLaboklab(38.63% 0.0659 -0.1783)
OKLCHoklch(38.63% 0.19 290.3)
XYZxyz(9.4955, 4.7891, 33.2182)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1C9F #719F1C
analogous
#1C309F #4A1C9F #8C1C9F
triadic
#4A1C9F #9F4A1C #1C9F4A
tetradic
#4A1C9F #9F1C30 #719F1C #1C9F8C
square
#4A1C9F #9F1C30 #719F1C #1C9F8C
split-complementary
#4A1C9F #9F8C1C #309F1C
monochromatic
#1A0A37 #32136B #4A1C9F #6225D3 #8654E1

Accessibility & contrast

On white

10.73
#4A1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4A1C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1C9F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1C9F#FFFFFF#000000##FFFFFF
##4A1C9F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#2A435F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a1c9f;
/* rgb */ color: rgb(74, 28, 159);
/* oklch */ color: oklch(38.6% 0.190 290.3);
Tailwind
colors: {
  custom: {
    50: '#875fbd',
    500: '#4a1c9f',
    950: '#000000',
  },
}
SCSS
$custom: #4a1c9f;
$custom-light: #875fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1c9f",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 261.069,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3863,
    "c": 0.1901,
    "h": 290.3
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#4A1C9F
secondary
#9CC453
accent
#ED3BAE
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A1C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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