#4A2299#4A2299

#4A2299 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.178 H 290.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4A2299
RGBrgb(74, 34, 153)
HSLhsl(260, 64%, 37%)
HSVhsv(260, 78%, 60%)
CMYKcmyk(51.6%, 77.8%, 0%, 40%)
CIE-LABlab(26.45, 46.15, -57.81)
CIE-LCHlch(26.45, 73.97, 308.60°)
OKLaboklab(38.67% 0.0636 -0.1661)
OKLCHoklch(38.67% 0.178 290.9)
XYZxyz(9.1442, 4.8994, 30.5947)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2299 #719922
analogous
#223699 #4A2299 #862299
triadic
#4A2299 #994A22 #22994A
tetradic
#4A2299 #992236 #719922 #229986
square
#4A2299 #992236 #719922 #229986
split-complementary
#4A2299 #998622 #369922
monochromatic
#1A0C35 #321767 #4A2299 #622DCB #865BDB

Accessibility & contrast

On white

10.61
#4A2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2299
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2299#FFFFFF#000000##FFFFFF
##4A22991.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#2E435C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2299;
/* rgb */ color: rgb(74, 34, 153);
/* oklch */ color: oklch(38.7% 0.178 290.9);
Tailwind
colors: {
  custom: {
    50: '#8562b8',
    500: '#4a2299',
    950: '#000000',
  },
}
SCSS
$custom: #4a2299;
$custom-light: #8562b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2299",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 260.168,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38674,
    "c": 0.17784,
    "h": 290.9
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#4A2299
secondary
#9CBF58
accent
#E741AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2299

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

Preview Lab → · Contrast checker → · Palette generator →

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