#4B2A89#4B2A89

#4B2A89 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.149 H 294.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#4B2A89
RGBrgb(75, 42, 137)
HSLhsl(261, 53%, 35%)
HSVhsv(261, 69%, 54%)
CMYKcmyk(45.3%, 69.3%, 0%, 46.3%)
CIE-LABlab(26.61, 37.64, -47.65)
CIE-LCHlch(26.61, 60.73, 308.31°)
OKLaboklab(38.38% 0.0612 -0.1363)
OKLCHoklch(38.38% 0.149 294.2)
XYZxyz(8.2437, 4.9577, 24.1846)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A89 #68892A
analogous
#2A3889 #4B2A89 #7A2A89
triadic
#4B2A89 #894B2A #2A894B
tetradic
#4B2A89 #892A38 #68892A #2A897A
square
#4B2A89 #892A38 #68892A #2A897A
split-complementary
#4B2A89 #897A2A #38892A
monochromatic
#180D2B #311C5A #4B2A89 #6538B8 #865FCE

Accessibility & contrast

On white

10.54
#4B2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4B2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A89
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A89#FFFFFF#000000##FFFFFF
##4B2A891.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#3A4156
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2a89;
/* rgb */ color: rgb(75, 42, 137);
/* oklch */ color: oklch(38.4% 0.149 294.2);
Tailwind
colors: {
  custom: {
    50: '#8366ac',
    500: '#4b2a89',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a89;
$custom-light: #8366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a89",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 260.842,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38381,
    "c": 0.14938,
    "h": 294.2
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#4B2A89
secondary
#95B45B
accent
#DC4BAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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