#4A2B84#4A2B84

#4A2B84 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.142 H 294.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#4A2B84
RGBrgb(74, 43, 132)
HSLhsl(261, 51%, 34%)
HSVhsv(261, 67%, 52%)
CMYKcmyk(43.9%, 67.4%, 0%, 48.2%)
CIE-LABlab(26.30, 35.43, -45.04)
CIE-LCHlch(26.30, 57.31, 308.19°)
OKLaboklab(38% 0.0593 -0.1286)
OKLCHoklch(38% 0.142 294.7)
XYZxyz(7.8517, 4.8493, 22.3477)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B84 #65842B
analogous
#2B3984 #4A2B84 #772B84
triadic
#4A2B84 #844A2B #2B844A
tetradic
#4A2B84 #842B39 #65842B #2B8477
square
#4A2B84 #842B39 #65842B #2B8477
split-complementary
#4A2B84 #84772B #39842B
monochromatic
#160D28 #301C56 #4A2B84 #643AB2 #845FCB

Accessibility & contrast

On white

10.66
#4A2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4A2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B84
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B84#FFFFFF#000000##FFFFFF
##4A2B841.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#3A4053
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2b84;
/* rgb */ color: rgb(74, 43, 132);
/* oklch */ color: oklch(38.0% 0.142 294.7);
Tailwind
colors: {
  custom: {
    50: '#8266a8',
    500: '#4a2b84',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b84;
$custom-light: #8266a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b84",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 260.899,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38003,
    "c": 0.14164,
    "h": 294.7
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#4A2B84
secondary
#93B15A
accent
#DA4DA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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