#4A2296#4A2296

#4A2296 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.174 H 291.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4A2296
RGBrgb(74, 34, 150)
HSLhsl(261, 63%, 36%)
HSVhsv(261, 77%, 59%)
CMYKcmyk(50.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(26.16, 45.31, -56.44)
CIE-LCHlch(26.16, 72.38, 308.76°)
OKLaboklab(38.39% 0.0644 -0.1621)
OKLCHoklch(38.39% 0.174 291.7)
XYZxyz(8.8995, 4.8016, 29.3061)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2296 #6E9622
analogous
#223496 #4A2296 #842296
triadic
#4A2296 #964A22 #22964A
tetradic
#4A2296 #962234 #6E9622 #229684
square
#4A2296 #962234 #6E9622 #229684
split-complementary
#4A2296 #968422 #349622
monochromatic
#190B32 #311764 #4A2296 #632DC8 #8559D9

Accessibility & contrast

On white

10.71
#4A2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4A2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2296
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2296#FFFFFF#000000##FFFFFF
##4A22961.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#31425B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2296;
/* rgb */ color: rgb(74, 34, 150);
/* oklch */ color: oklch(38.4% 0.174 291.7);
Tailwind
colors: {
  custom: {
    50: '#8562b6',
    500: '#4a2296',
    950: '#000000',
  },
}
SCSS
$custom: #4a2296;
$custom-light: #8562b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2296",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 260.69,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38388,
    "c": 0.17439,
    "h": 291.7
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#4A2296
secondary
#9ABE56
accent
#E642AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2296

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

Preview Lab → · Contrast checker → · Palette generator →

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