#4B2A84#4B2A84

#4B2A84 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.143 H 295.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4B2A84
RGBrgb(75, 42, 132)
HSLhsl(262, 52%, 34%)
HSVhsv(262, 68%, 52%)
CMYKcmyk(43.2%, 68.2%, 0%, 48.2%)
CIE-LABlab(26.21, 36.21, -45.19)
CIE-LCHlch(26.21, 57.91, 308.71°)
OKLaboklab(37.96% 0.0619 -0.129)
OKLCHoklch(37.96% 0.143 295.6)
XYZxyz(7.8934, 4.8176, 22.3393)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A84 #63842A
analogous
#2A3684 #4B2A84 #782A84
triadic
#4B2A84 #844B2A #2A844B
tetradic
#4B2A84 #842A36 #63842A #2A8478
square
#4B2A84 #842A36 #63842A #2A8478
split-complementary
#4B2A84 #84782A #36842A
monochromatic
#160C27 #311B56 #4B2A84 #6539B2 #855DCB

Accessibility & contrast

On white

10.69
#4B2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2A84
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A84#FFFFFF#000000##FFFFFF
##4B2A841.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2a84;
/* rgb */ color: rgb(75, 42, 132);
/* oklch */ color: oklch(38.0% 0.143 295.6);
Tailwind
colors: {
  custom: {
    50: '#8266a8',
    500: '#4b2a84',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a84;
$custom-light: #8266a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a84",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 262,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37963,
    "c": 0.14311,
    "h": 295.6
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#4B2A84
secondary
#91B159
accent
#DB4DA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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