#4A2CA0#4A2CA0

#4A2CA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.175 H 287.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4A2CA0
RGBrgb(74, 44, 160)
HSLhsl(256, 57%, 40%)
HSVhsv(256, 73%, 63%)
CMYKcmyk(53.7%, 72.5%, 0%, 37.3%)
CIE-LABlab(28.89, 43.09, -58.08)
CIE-LCHlch(28.89, 72.32, 306.57°)
OKLaboklab(40.6% 0.0534 -0.1669)
OKLCHoklch(40.6% 0.175 287.7)
XYZxyz(10.0680, 5.7948, 33.8389)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CA0 #82A02C
analogous
#2C48A0 #4A2CA0 #842CA0
triadic
#4A2CA0 #A04A2C #2CA04A
tetradic
#4A2CA0 #A02C48 #82A02C #2CA084
square
#4A2CA0 #A02C48 #82A02C #2CA084
split-complementary
#4A2CA0 #A0842C #48A02C
monochromatic
#1E1240 #341F70 #4A2CA0 #633FCA #8A6FD7

Accessibility & contrast

On white

9.73
#4A2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4A2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CA0
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CA0#FFFFFF#000000##FFFFFF
##4A2CA01.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#284B63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a2ca0;
/* rgb */ color: rgb(74, 44, 160);
/* oklch */ color: oklch(40.6% 0.175 287.7);
Tailwind
colors: {
  custom: {
    50: '#8668bd',
    500: '#4a2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ca0;
$custom-light: #8668bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ca0",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 255.517,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.17527,
    "h": 287.7
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#4A2CA0
secondary
#A8BF69
accent
#E048B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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