#4A2099#4A2099

#4A2099 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.180 H 291.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#4A2099
RGBrgb(74, 32, 153)
HSLhsl(261, 65%, 36%)
HSVhsv(261, 79%, 60%)
CMYKcmyk(51.6%, 79.1%, 0%, 40%)
CIE-LABlab(26.12, 47.08, -58.34)
CIE-LCHlch(26.12, 74.97, 308.90°)
OKLaboklab(38.45% 0.0651 -0.1676)
OKLCHoklch(38.45% 0.18 291.2)
XYZxyz(9.0887, 4.7884, 30.5762)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2099 #6F9920
analogous
#203399 #4A2099 #872099
triadic
#4A2099 #994A20 #20994A
tetradic
#4A2099 #992033 #6F9920 #209987
square
#4A2099 #992033 #6F9920 #209987
split-complementary
#4A2099 #998720 #339920
monochromatic
#190B34 #321566 #4A2099 #622BCC #8557DC

Accessibility & contrast

On white

10.73
#4A2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4A2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2099
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2099#FFFFFF#000000##FFFFFF
##4A20991.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#2F425C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2099;
/* rgb */ color: rgb(74, 32, 153);
/* oklch */ color: oklch(38.4% 0.180 291.2);
Tailwind
colors: {
  custom: {
    50: '#8561b8',
    500: '#4a2099',
    950: '#000000',
  },
}
SCSS
$custom: #4a2099;
$custom-light: #8561b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2099",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 260.826,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38449,
    "c": 0.17982,
    "h": 291.2
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#4A2099
secondary
#9BC055
accent
#E83FAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2099

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

Preview Lab → · Contrast checker → · Palette generator →

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