#4A2195#4A2195

#4A2195 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.174 H 292.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4A2195
RGBrgb(74, 33, 149)
HSLhsl(261, 64%, 36%)
HSVhsv(261, 78%, 58%)
CMYKcmyk(50.3%, 77.9%, 0%, 41.6%)
CIE-LABlab(25.90, 45.51, -56.25)
CIE-LCHlch(25.90, 72.35, 308.98°)
OKLaboklab(38.18% 0.0655 -0.1615)
OKLCHoklch(38.18% 0.174 292.1)
XYZxyz(8.7912, 4.7132, 28.8745)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2195 #6C9521
analogous
#213295 #4A2195 #842195
triadic
#4A2195 #954A21 #21954A
tetradic
#4A2195 #952132 #6C9521 #219584
square
#4A2195 #952132 #6C9521 #219584
split-complementary
#4A2195 #958421 #329521
monochromatic
#180B31 #311663 #4A2195 #632CC7 #8557DA

Accessibility & contrast

On white

10.81
#4A2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2195
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2195#FFFFFF#000000##FFFFFF
##4A21951.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#31415A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2195;
/* rgb */ color: rgb(74, 33, 149);
/* oklch */ color: oklch(38.2% 0.174 292.1);
Tailwind
colors: {
  custom: {
    50: '#8561b5',
    500: '#4a2195',
    950: '#000000',
  },
}
SCSS
$custom: #4a2195;
$custom-light: #8561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2195",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 261.207,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38177,
    "c": 0.17428,
    "h": 292.1
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2195

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

Preview Lab → · Contrast checker → · Palette generator →

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