#4B2289#4B2289

#4B2289 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.159 H 295.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4B2289
RGBrgb(75, 34, 137)
HSLhsl(264, 60%, 34%)
HSVhsv(264, 75%, 54%)
CMYKcmyk(45.3%, 75.2%, 0%, 46.3%)
CIE-LABlab(25.09, 41.88, -50.13)
CIE-LCHlch(25.09, 65.32, 309.88°)
OKLaboklab(37.3% 0.0694 -0.1435)
OKLCHoklch(37.3% 0.159 295.8)
XYZxyz(7.9878, 4.4459, 24.0993)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2289 #608922
analogous
#222D89 #4B2289 #7E2289
triadic
#4B2289 #894B22 #22894B
tetradic
#4B2289 #89222D #608922 #22897E
square
#4B2289 #89222D #608922 #22897E
split-complementary
#4B2289 #897E22 #2D8922
monochromatic
#150A27 #301658 #4B2289 #662EBA #8551D4

Accessibility & contrast

On white

11.12
#4B2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4B2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2289
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2289#FFFFFF#000000##FFFFFF
##4B22891.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#3A3D53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2289;
/* rgb */ color: rgb(75, 34, 137);
/* oklch */ color: oklch(37.3% 0.159 295.8);
Tailwind
colors: {
  custom: {
    50: '#8461ac',
    500: '#4b2289',
    950: '#000000',
  },
}
SCSS
$custom: #4b2289;
$custom-light: #8461ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2289",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 263.883,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37299,
    "c": 0.15939,
    "h": 295.8
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#4B2289
secondary
#8EB84F
accent
#E344A4
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2289

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

Preview Lab → · Contrast checker → · Palette generator →

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