#4A2089#4A2089

#4A2089 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.162 H 295.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#4A2089
RGBrgb(74, 32, 137)
HSLhsl(264, 62%, 33%)
HSVhsv(264, 77%, 54%)
CMYKcmyk(46%, 76.6%, 0%, 46.3%)
CIE-LABlab(24.62, 42.69, -50.90)
CIE-LCHlch(24.62, 66.43, 309.98°)
OKLaboklab(36.94% 0.0697 -0.1458)
OKLCHoklch(36.94% 0.162 295.5)
XYZxyz(7.8547, 4.2948, 24.0772)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2089 #5F8920
analogous
#202A89 #4A2089 #7E2089
triadic
#4A2089 #894A20 #20894A
tetradic
#4A2089 #89202A #5F8920 #20897E
square
#4A2089 #89202A #5F8920 #20897E
split-complementary
#4A2089 #897E20 #2A8920
monochromatic
#140926 #2F1457 #4A2089 #652CBB #844ED6

Accessibility & contrast

On white

11.30
#4A2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4A2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2089
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2089#FFFFFF#000000##FFFFFF
##4A20891.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#383C53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a2089;
/* rgb */ color: rgb(74, 32, 137);
/* oklch */ color: oklch(36.9% 0.162 295.5);
Tailwind
colors: {
  custom: {
    50: '#8360ac',
    500: '#4a2089',
    950: '#000000',
  },
}
SCSS
$custom: #4a2089;
$custom-light: #8360ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2089",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 264,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36939,
    "c": 0.1616,
    "h": 295.5
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#4A2089
secondary
#8DB94C
accent
#E543A4
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2089

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

Preview Lab → · Contrast checker → · Palette generator →

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