#4A2990#4A2990

#4A2990 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.159 H 291.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4A2990
RGBrgb(74, 41, 144)
HSLhsl(259, 56%, 36%)
HSVhsv(259, 72%, 56%)
CMYKcmyk(48.6%, 71.5%, 0%, 43.5%)
CIE-LABlab(26.89, 40.03, -51.55)
CIE-LCHlch(26.89, 65.26, 307.83°)
OKLaboklab(38.74% 0.0595 -0.1477)
OKLCHoklch(38.74% 0.159 291.9)
XYZxyz(8.6496, 5.0550, 26.9001)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2990 #6F9029
analogous
#293C90 #4A2990 #7E2990
triadic
#4A2990 #904A29 #29904A
tetradic
#4A2990 #90293C #6F9029 #29907E
square
#4A2990 #90293C #6F9029 #29907E
split-complementary
#4A2990 #907E29 #3C9029
monochromatic
#190E31 #321B60 #4A2990 #6237C0 #8561D2

Accessibility & contrast

On white

10.44
#4A2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4A2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2990
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2990#FFFFFF#000000##FFFFFF
##4A29901.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#344359
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2990;
/* rgb */ color: rgb(74, 41, 144);
/* oklch */ color: oklch(38.7% 0.159 291.9);
Tailwind
colors: {
  custom: {
    50: '#8366b1',
    500: '#4a2990',
    950: '#000000',
  },
}
SCSS
$custom: #4a2990;
$custom-light: #8366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2990",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 259.223,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38737,
    "c": 0.15928,
    "h": 291.9
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#4A2990
secondary
#9BB85D
accent
#DF49AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2990

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

Preview Lab → · Contrast checker → · Palette generator →

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