#4B2A88#4B2A88

#4B2A88 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.148 H 294.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4B2A88
RGBrgb(75, 42, 136)
HSLhsl(261, 53%, 35%)
HSVhsv(261, 69%, 53%)
CMYKcmyk(44.9%, 69.1%, 0%, 46.7%)
CIE-LABlab(26.53, 37.36, -47.16)
CIE-LCHlch(26.53, 60.16, 308.38°)
OKLaboklab(38.3% 0.0613 -0.1348)
OKLCHoklch(38.3% 0.148 294.5)
XYZxyz(8.1724, 4.9291, 23.8086)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A88 #67882A
analogous
#2A3888 #4B2A88 #7A2A88
triadic
#4B2A88 #884B2A #2A884B
tetradic
#4B2A88 #882A38 #67882A #2A887A
square
#4B2A88 #882A38 #67882A #2A887A
split-complementary
#4B2A88 #887A2A #38882A
monochromatic
#170D2A #311C59 #4B2A88 #6538B7 #865FCE

Accessibility & contrast

On white

10.58
#4B2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2A88
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A88#FFFFFF#000000##FFFFFF
##4B2A881.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#3A4155
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2a88;
/* rgb */ color: rgb(75, 42, 136);
/* oklch */ color: oklch(38.3% 0.148 294.5);
Tailwind
colors: {
  custom: {
    50: '#8366ab',
    500: '#4b2a88',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a88;
$custom-light: #8366ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a88",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 261.064,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.14813,
    "h": 294.5
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#4B2A88
secondary
#94B35B
accent
#DC4CA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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