#4A2292#4A2292

#4A2292 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.170 H 292.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4A2292
RGBrgb(74, 34, 146)
HSLhsl(261, 62%, 35%)
HSVhsv(261, 77%, 57%)
CMYKcmyk(49.3%, 76.7%, 0%, 42.7%)
CIE-LABlab(25.79, 44.20, -54.59)
CIE-LCHlch(25.79, 70.24, 309.00°)
OKLaboklab(38.01% 0.0655 -0.1566)
OKLCHoklch(38.01% 0.17 292.7)
XYZxyz(8.5829, 4.6749, 27.6387)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2292 #6A9222
analogous
#223292 #4A2292 #822292
triadic
#4A2292 #924A22 #22924A
tetradic
#4A2292 #922232 #6A9222 #229282
square
#4A2292 #922232 #6A9222 #229282
split-complementary
#4A2292 #928222 #329222
monochromatic
#180B2F #311660 #4A2292 #632EC4 #8557D8

Accessibility & contrast

On white

10.85
#4A2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2292
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2292#FFFFFF#000000##FFFFFF
##4A22921.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#334058
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2292;
/* rgb */ color: rgb(74, 34, 146);
/* oklch */ color: oklch(38.0% 0.170 292.7);
Tailwind
colors: {
  custom: {
    50: '#8462b3',
    500: '#4a2292',
    950: '#000000',
  },
}
SCSS
$custom: #4a2292;
$custom-light: #8462b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2292",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 261.429,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.16978,
    "h": 292.7
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#4A2292
secondary
#97BC54
accent
#E543AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2292

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

Preview Lab → · Contrast checker → · Palette generator →

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