#4A1C8F#4A1C8F

#4A1C8F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.173 H 294.4°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4A1C8F
RGBrgb(74, 28, 143)
HSLhsl(264, 67%, 34%)
HSVhsv(264, 80%, 56%)
CMYKcmyk(48.3%, 80.4%, 0%, 43.9%)
CIE-LABlab(24.54, 46.14, -54.77)
CIE-LCHlch(24.54, 71.62, 310.11°)
OKLaboklab(37.05% 0.0713 -0.1571)
OKLCHoklch(37.05% 0.173 294.4)
XYZxyz(8.1959, 4.2693, 26.3735)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1C8F #618F1C
analogous
#1C278F #4A1C8F #831C8F
triadic
#4A1C8F #8F4A1C #1C8F4A
tetradic
#4A1C8F #8F1C27 #618F1C #1C8F83
square
#4A1C8F #8F1C27 #618F1C #1C8F83
split-complementary
#4A1C8F #8F831C #278F1C
monochromatic
#150829 #30125C #4A1C8F #6426C2 #844ADC

Accessibility & contrast

On white

11.33
#4A1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4A1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1C8F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1C8F#FFFFFF#000000##FFFFFF
##4A1C8F1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#353D55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a1c8f;
/* rgb */ color: rgb(74, 28, 143);
/* oklch */ color: oklch(37.1% 0.173 294.4);
Tailwind
colors: {
  custom: {
    50: '#845eb1',
    500: '#4a1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4a1c8f;
$custom-light: #845eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1c8f",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 264,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.17255,
    "h": 294.4
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#4A1C8F
secondary
#8FBE49
accent
#EA3EA5
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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