#4A2190#4A2190

#4A2190 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.169 H 293.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4A2190
RGBrgb(74, 33, 144)
HSLhsl(262, 63%, 35%)
HSVhsv(262, 77%, 56%)
CMYKcmyk(48.6%, 77.1%, 0%, 43.5%)
CIE-LABlab(25.43, 44.13, -53.93)
CIE-LCHlch(25.43, 69.68, 309.29°)
OKLaboklab(37.71% 0.0669 -0.1547)
OKLCHoklch(37.71% 0.169 293.4)
XYZxyz(8.4005, 4.5569, 26.8171)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2190 #679021
analogous
#213090 #4A2190 #822190
triadic
#4A2190 #904A21 #21904A
tetradic
#4A2190 #902130 #679021 #219082
square
#4A2190 #902130 #679021 #219082
split-complementary
#4A2190 #908221 #309021
monochromatic
#170A2C #30165E #4A2190 #642CC2 #8454D8

Accessibility & contrast

On white

10.99
#4A2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2190
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2190#FFFFFF#000000##FFFFFF
##4A21901.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2190;
/* rgb */ color: rgb(74, 33, 144);
/* oklch */ color: oklch(37.7% 0.169 293.4);
Tailwind
colors: {
  custom: {
    50: '#8461b1',
    500: '#4a2190',
    950: '#000000',
  },
}
SCSS
$custom: #4a2190;
$custom-light: #8461b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2190",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 262.162,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37706,
    "c": 0.16855,
    "h": 293.4
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#4A2190
secondary
#94BB51
accent
#E642A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2190

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

Preview Lab → · Contrast checker → · Palette generator →

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