#4B2286#4B2286

#4B2286 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.156 H 296.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4B2286
RGBrgb(75, 34, 134)
HSLhsl(265, 60%, 33%)
HSVhsv(265, 75%, 53%)
CMYKcmyk(44%, 74.6%, 0%, 47.5%)
CIE-LABlab(24.83, 41.06, -48.68)
CIE-LCHlch(24.83, 63.69, 310.15°)
OKLaboklab(37.03% 0.0701 -0.1393)
OKLCHoklch(37.03% 0.156 296.7)
XYZxyz(7.7756, 4.3610, 22.9817)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2286 #5D8622
analogous
#222B86 #4B2286 #7D2286
triadic
#4B2286 #864B22 #22864B
tetradic
#4B2286 #86222B #5D8622 #22867D
square
#4B2286 #86222B #5D8622 #22867D
split-complementary
#4B2286 #867D22 #2B8622
monochromatic
#140924 #301655 #4B2286 #662EB7 #8550D3

Accessibility & contrast

On white

11.22
#4B2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4B2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2286
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2286#FFFFFF#000000##FFFFFF
##4B22861.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#3C3C52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b2286;
/* rgb */ color: rgb(75, 34, 134);
/* oklch */ color: oklch(37.0% 0.156 296.7);
Tailwind
colors: {
  custom: {
    50: '#8361aa',
    500: '#4b2286',
    950: '#000000',
  },
}
SCSS
$custom: #4b2286;
$custom-light: #8361aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2286",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 264.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37032,
    "c": 0.15589,
    "h": 296.7
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#4B2286
secondary
#8BB64E
accent
#E345A2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2286

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

Preview Lab → · Contrast checker → · Palette generator →

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