#4A1C94#4A1C94

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

Color values

HEX#4A1C94
RGBrgb(74, 28, 148)
HSLhsl(263, 68%, 35%)
HSVhsv(263, 81%, 58%)
CMYKcmyk(50%, 81.1%, 0%, 42%)
CIE-LABlab(25.03, 47.48, -57.07)
CIE-LCHlch(25.03, 74.24, 309.76°)
OKLaboklab(37.54% 0.0697 -0.1638)
OKLCHoklch(37.54% 0.178 293)
XYZxyz(8.5831, 4.4242, 28.4129)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1C94 #66941C
analogous
#1C2A94 #4A1C94 #861C94
triadic
#4A1C94 #944A1C #1C944A
tetradic
#4A1C94 #941C2A #66941C #1C9486
square
#4A1C94 #941C2A #66941C #1C9486
split-complementary
#4A1C94 #94861C #2A941C
monochromatic
#17092D #301261 #4A1C94 #6426C7 #844DDD

Accessibility & contrast

On white

11.14
#4A1C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4A1C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1C94
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1C94#FFFFFF#000000##FFFFFF
##4A1C941.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1c94;
/* rgb */ color: rgb(74, 28, 148);
/* oklch */ color: oklch(37.5% 0.178 293.0);
Tailwind
colors: {
  custom: {
    50: '#855fb4',
    500: '#4a1c94',
    950: '#000000',
  },
}
SCSS
$custom: #4a1c94;
$custom-light: #855fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1c94",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 263,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37538,
    "c": 0.17805,
    "h": 293
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#4A1C94
secondary
#93C04C
accent
#EB3DA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1C94

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

Preview Lab → · Contrast checker → · Palette generator →

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