#4B3192#4B3192

#4B3192 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.2% C 0.151 H 290.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4B3192
RGBrgb(75, 49, 146)
HSLhsl(256, 50%, 38%)
HSVhsv(256, 66%, 57%)
CMYKcmyk(48.6%, 66.4%, 0%, 42.7%)
CIE-LABlab(28.82, 36.28, -49.63)
CIE-LCHlch(28.82, 61.48, 306.17°)
OKLaboklab(40.2% 0.0524 -0.1421)
OKLCHoklch(40.2% 0.151 290.2)
XYZxyz(9.1868, 5.7675, 27.8177)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3192 #789231
analogous
#314892 #4B3192 #7B3192
triadic
#4B3192 #924B31 #31924B
tetradic
#4B3192 #923148 #789231 #31927B
square
#4B3192 #923148 #789231 #31927B
split-complementary
#4B3192 #927B31 #489231
monochromatic
#1C1236 #332264 #4B3192 #6341BF #886FCF

Accessibility & contrast

On white

9.75
#4B3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4B3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3192
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3192#FFFFFF#000000##FFFFFF
##4B31921.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#34485D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b3192;
/* rgb */ color: rgb(75, 49, 146);
/* oklch */ color: oklch(40.2% 0.151 290.2);
Tailwind
colors: {
  custom: {
    50: '#846bb3',
    500: '#4b3192',
    950: '#000000',
  },
}
SCSS
$custom: #4b3192;
$custom-light: #846bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3192",
  "rgb": {
    "r": 75,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 256.082,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.15145,
    "h": 290.2
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#4B3192
secondary
#A1B669
accent
#D94FB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4B3192

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

Preview Lab → · Contrast checker → · Palette generator →

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