#4A2A89#4A2A89

#4A2A89 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.149 H 293.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#4A2A89
RGBrgb(74, 42, 137)
HSLhsl(260, 53%, 35%)
HSVhsv(260, 69%, 54%)
CMYKcmyk(46%, 69.3%, 0%, 46.3%)
CIE-LABlab(26.50, 37.44, -47.84)
CIE-LCHlch(26.50, 60.75, 308.05°)
OKLaboklab(38.27% 0.0597 -0.1369)
OKLCHoklch(38.27% 0.149 293.6)
XYZxyz(8.1661, 4.9177, 24.1810)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2A89 #69892A
analogous
#2A3989 #4A2A89 #7A2A89
triadic
#4A2A89 #894A2A #2A894A
tetradic
#4A2A89 #892A39 #69892A #2A897A
square
#4A2A89 #892A39 #69892A #2A897A
split-complementary
#4A2A89 #897A2A #39892A
monochromatic
#170D2B #311C5A #4A2A89 #6338B8 #855FCE

Accessibility & contrast

On white

10.59
#4A2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4A2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2A89
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2A89#FFFFFF#000000##FFFFFF
##4A2A891.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#384156
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2a89;
/* rgb */ color: rgb(74, 42, 137);
/* oklch */ color: oklch(38.3% 0.149 293.6);
Tailwind
colors: {
  custom: {
    50: '#8266ac',
    500: '#4a2a89',
    950: '#000000',
  },
}
SCSS
$custom: #4a2a89;
$custom-light: #8266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2a89",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 260.211,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38272,
    "c": 0.14932,
    "h": 293.6
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#4A2A89
secondary
#96B45B
accent
#DC4BAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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