#4A1565#4A1565

#4A1565 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.135 H 311.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#4A1565
RGBrgb(74, 21, 101)
HSLhsl(280, 66%, 24%)
HSVhsv(280, 79%, 40%)
CMYKcmyk(26.7%, 79.2%, 0%, 60.4%)
CIE-LABlab(19.77, 38.52, -35.76)
CIE-LCHlch(19.77, 52.56, 317.13°)
OKLaboklab(32.56% 0.0889 -0.1012)
OKLCHoklch(32.56% 0.135 311.3)
XYZxyz(5.4407, 2.9319, 12.5887)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1565 #306515
analogous
#221565 #4A1565 #651558
triadic
#4A1565 #654A15 #15654A
tetradic
#4A1565 #652215 #306515 #155865
square
#4A1565 #652215 #306515 #155865
split-complementary
#4A1565 #586515 #156522
monochromatic
#130519 #250A32 #4A1565 #6F2098 #942ACA

Accessibility & contrast

On white

13.24
#4A1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4A1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1565
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1565#FFFFFF#000000##FFFFFF
##4A15651.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#063163
Tritanopia (blue-blind)
#47283C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1565;
/* rgb */ color: rgb(74, 21, 101);
/* oklch */ color: oklch(32.6% 0.135 311.3);
Tailwind
colors: {
  custom: {
    50: '#805991',
    500: '#4a1565',
    950: '#000000',
  },
}
SCSS
$custom: #4a1565;
$custom-light: #805991;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1565",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 279.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32558,
    "c": 0.13473,
    "h": 311.3
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#4A1565
secondary
#5B9C3A
accent
#E93F78
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A1565

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

Preview Lab → · Contrast checker → · Palette generator →

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