#4B1989#4B1989

#4B1989 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.169 H 297.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4B1989
RGBrgb(75, 25, 137)
HSLhsl(267, 69%, 32%)
HSVhsv(267, 82%, 54%)
CMYKcmyk(45.3%, 81.8%, 0%, 46.3%)
CIE-LABlab(23.66, 45.98, -52.47)
CIE-LCHlch(23.66, 69.77, 311.23°)
OKLaboklab(36.3% 0.0772 -0.1503)
OKLCHoklch(36.3% 0.169 297.2)
XYZxyz(7.7634, 3.9971, 24.0245)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1989 #578919
analogous
#191F89 #4B1989 #831989
triadic
#4B1989 #894B19 #19894B
tetradic
#4B1989 #89191F #578919 #198983
square
#4B1989 #89191F #578919 #198983
split-complementary
#4B1989 #898319 #1F8919
monochromatic
#120621 #2F1055 #4B1989 #6722BD #8640DC

Accessibility & contrast

On white

11.67
#4B1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4B1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1989
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1989#FFFFFF#000000##FFFFFF
##4B19891.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#3A3951
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b1989;
/* rgb */ color: rgb(75, 25, 137);
/* oklch */ color: oklch(36.3% 0.169 297.2);
Tailwind
colors: {
  custom: {
    50: '#845dac',
    500: '#4b1989',
    950: '#000000',
  },
}
SCSS
$custom: #4b1989;
$custom-light: #845dac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1989",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 266.786,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36296,
    "c": 0.16897,
    "h": 297.2
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#4B1989
secondary
#85BC41
accent
#EC3C9D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4B1989

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

Preview Lab → · Contrast checker → · Palette generator →

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