#4A1CA1#4A1CA1

#4A1CA1 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.192 H 289.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#4A1CA1
RGBrgb(74, 28, 161)
HSLhsl(261, 70%, 37%)
HSVhsv(261, 83%, 63%)
CMYKcmyk(54%, 82.6%, 0%, 36.9%)
CIE-LABlab(26.33, 50.97, -62.89)
CIE-LCHlch(26.33, 80.95, 309.02°)
OKLaboklab(38.83% 0.0652 -0.1809)
OKLCHoklch(38.83% 0.192 289.8)
XYZxyz(9.6704, 4.8591, 34.1397)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1CA1 #73A11C
analogous
#1C31A1 #4A1CA1 #8D1CA1
triadic
#4A1CA1 #A14A1C #1CA14A
tetradic
#4A1CA1 #A11C31 #73A11C #1CA18D
square
#4A1CA1 #A11C31 #73A11C #1CA18D
split-complementary
#4A1CA1 #A18D1C #31A11C
monochromatic
#1A0A39 #32136D #4A1CA1 #6225D5 #8656E2

Accessibility & contrast

On white

10.65
#4A1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4A1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1CA1
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1CA1#FFFFFF#000000##FFFFFF
##4A1CA11.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#284460
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a1ca1;
/* rgb */ color: rgb(74, 28, 161);
/* oklch */ color: oklch(38.8% 0.192 289.8);
Tailwind
colors: {
  custom: {
    50: '#8760be',
    500: '#4a1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4a1ca1;
$custom-light: #8760be;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1ca1",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 260.752,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38832,
    "c": 0.19228,
    "h": 289.8
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#4A1CA1
secondary
#9EC554
accent
#ED3BAF
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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