#4B2288#4B2288

#4B2288 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.158 H 296.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4B2288
RGBrgb(75, 34, 136)
HSLhsl(264, 60%, 33%)
HSVhsv(264, 75%, 53%)
CMYKcmyk(44.9%, 75%, 0%, 46.7%)
CIE-LABlab(25.01, 41.61, -49.65)
CIE-LCHlch(25.01, 64.78, 309.97°)
OKLaboklab(37.21% 0.0696 -0.1421)
OKLCHoklch(37.21% 0.158 296.1)
XYZxyz(7.9164, 4.4173, 23.7233)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2288 #5F8822
analogous
#222C88 #4B2288 #7E2288
triadic
#4B2288 #884B22 #22884B
tetradic
#4B2288 #88222C #5F8822 #22887E
square
#4B2288 #88222C #5F8822 #22887E
split-complementary
#4B2288 #887E22 #2C8822
monochromatic
#150A26 #301657 #4B2288 #662EB9 #8551D3

Accessibility & contrast

On white

11.15
#4B2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4B2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2288
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2288#FFFFFF#000000##FFFFFF
##4B22881.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#3B3C53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b2288;
/* rgb */ color: rgb(75, 34, 136);
/* oklch */ color: oklch(37.2% 0.158 296.1);
Tailwind
colors: {
  custom: {
    50: '#8361ac',
    500: '#4b2288',
    950: '#000000',
  },
}
SCSS
$custom: #4b2288;
$custom-light: #8361ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2288",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 264.118,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3721,
    "c": 0.15823,
    "h": 296.1
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#4B2288
secondary
#8DB74F
accent
#E345A3
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2288

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

Preview Lab → · Contrast checker → · Palette generator →

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