#4A1DA0#4A1DA0

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

Color values

HEX#4A1DA0
RGBrgb(74, 29, 160)
HSLhsl(261, 69%, 37%)
HSVhsv(261, 82%, 63%)
CMYKcmyk(53.7%, 81.9%, 0%, 37.3%)
CIE-LABlab(26.37, 50.29, -62.22)
CIE-LCHlch(26.37, 80.00, 308.95°)
OKLaboklab(38.83% 0.0649 -0.1789)
OKLCHoklch(38.83% 0.19 289.9)
XYZxyz(9.6067, 4.8722, 33.6851)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1DA0 #73A01D
analogous
#1D31A0 #4A1DA0 #8C1DA0
triadic
#4A1DA0 #A04A1D #1DA04A
tetradic
#4A1DA0 #A01D31 #73A01D #1DA08C
square
#4A1DA0 #A01D31 #73A01D #1DA08C
split-complementary
#4A1DA0 #A08C1D #31A01D
monochromatic
#1A0A38 #32146C #4A1DA0 #6226D4 #8657E1

Accessibility & contrast

On white

10.64
#4A1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1DA0
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1DA0#FFFFFF#000000##FFFFFF
##4A1DA01.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#29445F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a1da0;
/* rgb */ color: rgb(74, 29, 160);
/* oklch */ color: oklch(38.8% 0.190 289.9);
Tailwind
colors: {
  custom: {
    50: '#8760bd',
    500: '#4a1da0',
    950: '#000000',
  },
}
SCSS
$custom: #4a1da0;
$custom-light: #8760bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1da0",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 260.611,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.19035,
    "h": 289.9
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#4A1DA0
secondary
#9EC455
accent
#EC3CB0
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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