#4B2284#4B2284

#4B2284 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.154 H 297.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4B2284
RGBrgb(75, 34, 132)
HSLhsl(265, 59%, 33%)
HSVhsv(265, 74%, 52%)
CMYKcmyk(43.2%, 74.2%, 0%, 48.2%)
CIE-LABlab(24.66, 40.51, -47.71)
CIE-LCHlch(24.66, 62.59, 310.34°)
OKLaboklab(36.85% 0.0705 -0.1364)
OKLCHoklch(36.85% 0.154 297.3)
XYZxyz(7.6375, 4.3057, 22.2540)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2284 #5B8422
analogous
#222A84 #4B2284 #7C2284
triadic
#4B2284 #844B22 #22844B
tetradic
#4B2284 #84222A #5B8422 #22847C
square
#4B2284 #84222A #5B8422 #22847C
split-complementary
#4B2284 #847C22 #2A8422
monochromatic
#140923 #2F1553 #4B2284 #672FB5 #864FD2

Accessibility & contrast

On white

11.28
#4B2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4B2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2284
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2284#FFFFFF#000000##FFFFFF
##4B22841.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#3C3B51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b2284;
/* rgb */ color: rgb(75, 34, 132);
/* oklch */ color: oklch(36.9% 0.154 297.3);
Tailwind
colors: {
  custom: {
    50: '#8361a9',
    500: '#4b2284',
    950: '#000000',
  },
}
SCSS
$custom: #4b2284;
$custom-light: #8361a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2284",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 265.102,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36855,
    "c": 0.15355,
    "h": 297.3
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#4B2284
secondary
#89B54D
accent
#E246A1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2284

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

Preview Lab → · Contrast checker → · Palette generator →

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