#4B2A82#4B2A82

#4B2A82 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.141 H 296.2°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#4B2A82
RGBrgb(75, 42, 130)
HSLhsl(263, 51%, 34%)
HSVhsv(263, 68%, 51%)
CMYKcmyk(42.3%, 67.7%, 0%, 49%)
CIE-LABlab(26.05, 35.64, -44.19)
CIE-LCHlch(26.05, 56.77, 308.89°)
OKLaboklab(37.8% 0.0622 -0.1261)
OKLCHoklch(37.8% 0.141 296.2)
XYZxyz(7.7578, 4.7633, 21.6254)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A82 #61822A
analogous
#2A3582 #4B2A82 #772A82
triadic
#4B2A82 #824B2A #2A824B
tetradic
#4B2A82 #822A35 #61822A #2A8277
square
#4B2A82 #822A35 #61822A #2A8277
split-complementary
#4B2A82 #82772A #35822A
monochromatic
#160C25 #301B54 #4B2A82 #6639B0 #855CCA

Accessibility & contrast

On white

10.75
#4B2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4B2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A82
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A82#FFFFFF#000000##FFFFFF
##4B2A821.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#3D3F52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2a82;
/* rgb */ color: rgb(75, 42, 130);
/* oklch */ color: oklch(37.8% 0.141 296.2);
Tailwind
colors: {
  custom: {
    50: '#8266a7',
    500: '#4b2a82',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a82;
$custom-light: #8266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a82",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 262.5,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37798,
    "c": 0.14059,
    "h": 296.2
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#4B2A82
secondary
#8FB058
accent
#DB4DA6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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