#4A2992#4A2992

#4A2992 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.162 H 291.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4A2992
RGBrgb(74, 41, 146)
HSLhsl(259, 56%, 37%)
HSVhsv(259, 72%, 57%)
CMYKcmyk(49.3%, 71.9%, 0%, 42.7%)
CIE-LABlab(27.06, 40.60, -52.50)
CIE-LCHlch(27.06, 66.37, 307.72°)
OKLaboklab(38.91% 0.0591 -0.1505)
OKLCHoklch(38.91% 0.162 291.4)
XYZxyz(8.8038, 5.1167, 27.7123)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2992 #719229
analogous
#293D92 #4A2992 #7F2992
triadic
#4A2992 #924A29 #29924A
tetradic
#4A2992 #92293D #719229 #29927F
square
#4A2992 #92293D #719229 #29927F
split-complementary
#4A2992 #927F29 #3D9229
monochromatic
#1A0E32 #321C62 #4A2992 #6236C2 #8662D3

Accessibility & contrast

On white

10.38
#4A2992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4A2992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2992
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2992#FFFFFF#000000##FFFFFF
##4A29921.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#33445A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2992;
/* rgb */ color: rgb(74, 41, 146);
/* oklch */ color: oklch(38.9% 0.162 291.4);
Tailwind
colors: {
  custom: {
    50: '#8466b3',
    500: '#4a2992',
    950: '#000000',
  },
}
SCSS
$custom: #4a2992;
$custom-light: #8466b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2992",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 258.857,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38914,
    "c": 0.16173,
    "h": 291.4
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#4A2992
secondary
#9CB95E
accent
#DF48B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2992

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

Preview Lab → · Contrast checker → · Palette generator →

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