#4B2280#4B2280

#4B2280 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.149 H 298.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#4B2280
RGBrgb(75, 34, 128)
HSLhsl(266, 58%, 32%)
HSVhsv(266, 73%, 50%)
CMYKcmyk(41.4%, 73.4%, 0%, 49.8%)
CIE-LABlab(24.32, 39.43, -45.75)
CIE-LCHlch(24.32, 60.39, 310.75°)
OKLaboklab(36.51% 0.0713 -0.1306)
OKLCHoklch(36.51% 0.149 298.6)
XYZxyz(7.3690, 4.1983, 20.8400)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2280 #578022
analogous
#222880 #4B2280 #7A2280
triadic
#4B2280 #804B22 #22804B
tetradic
#4B2280 #802228 #578022 #22807A
square
#4B2280 #802228 #578022 #22807A
split-complementary
#4B2280 #807A22 #288022
monochromatic
#12081F #2F1550 #4B2280 #672FB0 #864DD0

Accessibility & contrast

On white

11.42
#4B2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2280
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2280#FFFFFF#000000##FFFFFF
##4B22801.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#3E394E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2280;
/* rgb */ color: rgb(75, 34, 128);
/* oklch */ color: oklch(36.5% 0.149 298.6);
Tailwind
colors: {
  custom: {
    50: '#8261a6',
    500: '#4b2280',
    950: '#000000',
  },
}
SCSS
$custom: #4b2280;
$custom-light: #8261a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2280",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 266.17,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36507,
    "c": 0.14885,
    "h": 298.6
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#4B2280
secondary
#85B24B
accent
#E1479E
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B2280

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

Preview Lab → · Contrast checker → · Palette generator →

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