#4A2091#4A2091

#4A2091 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.171 H 293.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4A2091
RGBrgb(74, 32, 145)
HSLhsl(262, 64%, 35%)
HSVhsv(262, 78%, 57%)
CMYKcmyk(49%, 77.9%, 0%, 43.1%)
CIE-LABlab(25.36, 44.88, -54.67)
CIE-LCHlch(25.36, 70.73, 309.38°)
OKLaboklab(37.68% 0.0675 -0.1568)
OKLCHoklch(37.68% 0.171 293.3)
XYZxyz(8.4500, 4.5329, 27.2123)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2091 #679120
analogous
#202E91 #4A2091 #832091
triadic
#4A2091 #914A20 #20914A
tetradic
#4A2091 #91202E #679120 #209183
square
#4A2091 #91202E #679120 #209183
split-complementary
#4A2091 #918320 #2E9120
monochromatic
#170A2D #30155F #4A2091 #642BC3 #8452D9

Accessibility & contrast

On white

11.01
#4A2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4A2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2091
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2091#FFFFFF#000000##FFFFFF
##4A20911.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#343F57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a2091;
/* rgb */ color: rgb(74, 32, 145);
/* oklch */ color: oklch(37.7% 0.171 293.3);
Tailwind
colors: {
  custom: {
    50: '#8460b2',
    500: '#4a2091',
    950: '#000000',
  },
}
SCSS
$custom: #4a2091;
$custom-light: #8460b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2091",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 262.301,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.17075,
    "h": 293.3
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#4A2091
secondary
#94BC51
accent
#E741A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2091

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

Preview Lab → · Contrast checker → · Palette generator →

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