#4B288A#4B288A

#4B288A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.153 H 294.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#4B288A
RGBrgb(75, 40, 138)
HSLhsl(261, 55%, 35%)
HSVhsv(261, 71%, 54%)
CMYKcmyk(45.7%, 71%, 0%, 45.9%)
CIE-LABlab(26.30, 39.03, -48.79)
CIE-LCHlch(26.30, 62.48, 308.66°)
OKLaboklab(38.18% 0.0632 -0.1396)
OKLCHoklch(38.18% 0.153 294.3)
XYZxyz(8.2466, 4.8482, 24.5411)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B288A #678A28
analogous
#28368A #4B288A #7C288A
triadic
#4B288A #8A4B28 #288A4B
tetradic
#4B288A #8A2836 #678A28 #288A7C
square
#4B288A #8A2836 #678A28 #288A7C
split-complementary
#4B288A #8A7C28 #368A28
monochromatic
#170C2B #311A5B #4B288A #6536B9 #865DD0

Accessibility & contrast

On white

10.66
#4B288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B288A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B288A#FFFFFF#000000##FFFFFF
##4B288A1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#394056
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b288a;
/* rgb */ color: rgb(75, 40, 138);
/* oklch */ color: oklch(38.2% 0.153 294.3);
Tailwind
colors: {
  custom: {
    50: '#8365ad',
    500: '#4b288a',
    950: '#000000',
  },
}
SCSS
$custom: #4b288a;
$custom-light: #8365ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b288a",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 261.429,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.15322,
    "h": 294.3
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#4B288A
secondary
#94B559
accent
#DE49A9
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B288A

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

Preview Lab → · Contrast checker → · Palette generator →

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