#4A2194#4A2194

#4A2194 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.173 H 292.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#4A2194
RGBrgb(74, 33, 148)
HSLhsl(261, 64%, 35%)
HSVhsv(261, 78%, 58%)
CMYKcmyk(50%, 77.7%, 0%, 42%)
CIE-LABlab(25.81, 45.23, -55.79)
CIE-LCHlch(25.81, 71.82, 309.04°)
OKLaboklab(38.08% 0.0658 -0.1601)
OKLCHoklch(38.08% 0.173 292.3)
XYZxyz(8.7117, 4.6814, 28.4558)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2194 #6B9421
analogous
#213294 #4A2194 #832194
triadic
#4A2194 #944A21 #21944A
tetradic
#4A2194 #942132 #6B9421 #219483
square
#4A2194 #942132 #6B9421 #219483
split-complementary
#4A2194 #948321 #329421
monochromatic
#180B30 #311662 #4A2194 #632CC6 #8556D9

Accessibility & contrast

On white

10.84
#4A2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4A2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2194
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2194#FFFFFF#000000##FFFFFF
##4A21941.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#324159
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2194;
/* rgb */ color: rgb(74, 33, 148);
/* oklch */ color: oklch(38.1% 0.173 292.3);
Tailwind
colors: {
  custom: {
    50: '#8561b4',
    500: '#4a2194',
    950: '#000000',
  },
}
SCSS
$custom: #4a2194;
$custom-light: #8561b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2194",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 261.391,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38082,
    "c": 0.17314,
    "h": 292.3
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#4A2194
secondary
#98BD54
accent
#E741AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2194

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

Preview Lab → · Contrast checker → · Palette generator →

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