#4A2096#4A2096

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

Color values

HEX#4A2096
RGBrgb(74, 32, 150)
HSLhsl(261, 65%, 36%)
HSVhsv(261, 79%, 59%)
CMYKcmyk(50.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(25.83, 46.25, -56.98)
CIE-LCHlch(25.83, 73.39, 309.07°)
OKLaboklab(38.16% 0.066 -0.1636)
OKLCHoklch(38.16% 0.176 292)
XYZxyz(8.8440, 4.6905, 29.2876)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2096 #6C9620
analogous
#203196 #4A2096 #852096
triadic
#4A2096 #964A20 #20964A
tetradic
#4A2096 #962031 #6C9620 #209685
square
#4A2096 #962031 #6C9620 #209685
split-complementary
#4A2096 #968520 #319620
monochromatic
#180A31 #311564 #4A2096 #632BC8 #8556DB

Accessibility & contrast

On white

10.83
#4A2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2096
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2096#FFFFFF#000000##FFFFFF
##4A20961.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2096;
/* rgb */ color: rgb(74, 32, 150);
/* oklch */ color: oklch(38.2% 0.176 292.0);
Tailwind
colors: {
  custom: {
    50: '#8561b6',
    500: '#4a2096',
    950: '#000000',
  },
}
SCSS
$custom: #4a2096;
$custom-light: #8561b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2096",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 261.356,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38159,
    "c": 0.17644,
    "h": 292
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#4A2096
secondary
#98BE53
accent
#E840AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2096

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

Preview Lab → · Contrast checker → · Palette generator →

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