#4A2B94#4A2B94

#4A2B94 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.162 H 290.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4A2B94
RGBrgb(74, 43, 148)
HSLhsl(258, 55%, 37%)
HSVhsv(258, 71%, 58%)
CMYKcmyk(50%, 70.9%, 0%, 42%)
CIE-LABlab(27.63, 40.10, -52.80)
CIE-LCHlch(27.63, 66.30, 307.21°)
OKLaboklab(39.37% 0.0568 -0.1514)
OKLCHoklch(39.37% 0.162 290.5)
XYZxyz(9.0317, 5.3214, 28.5625)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B94 #75942B
analogous
#2B4194 #4A2B94 #7E2B94
triadic
#4A2B94 #944A2B #2B944A
tetradic
#4A2B94 #942B41 #75942B #2B947E
square
#4A2B94 #942B41 #75942B #2B947E
split-complementary
#4A2B94 #947E2B #41942B
monochromatic
#1B0F35 #321D65 #4A2B94 #6239C3 #8767D3

Accessibility & contrast

On white

10.17
#4A2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4A2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B94
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B94#FFFFFF#000000##FFFFFF
##4A2B941.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#31465C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2b94;
/* rgb */ color: rgb(74, 43, 148);
/* oklch */ color: oklch(39.4% 0.162 290.5);
Tailwind
colors: {
  custom: {
    50: '#8467b4',
    500: '#4a2b94',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b94;
$custom-light: #8467b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b94",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 257.714,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39372,
    "c": 0.16174,
    "h": 290.5
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#4A2B94
secondary
#9FB962
accent
#DE49B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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