#4B3C8A#4B3C8A

#4B3C8A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.5% C 0.125 H 288.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#4B3C8A
RGBrgb(75, 60, 138)
HSLhsl(252, 39%, 39%)
HSVhsv(252, 57%, 54%)
CMYKcmyk(45.7%, 56.5%, 0%, 45.9%)
CIE-LABlab(30.79, 27.09, -41.51)
CIE-LCHlch(30.79, 49.57, 303.13°)
OKLaboklab(41.45% 0.0398 -0.1182)
OKLCHoklch(41.45% 0.125 288.6)
XYZxyz(9.1037, 6.5622, 24.8268)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3C8A #7B8A3C
analogous
#3C548A #4B3C8A #723C8A
triadic
#4B3C8A #8A4B3C #3C8A4B
tetradic
#4B3C8A #8A3C54 #7B8A3C #3C8A72
square
#4B3C8A #8A3C54 #7B8A3C #3C8A72
split-complementary
#4B3C8A #8A723C #548A3C
monochromatic
#1D1735 #34295F #4B3C8A #6350B3 #897BC6

Accessibility & contrast

On white

9.08
#4B3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4B3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3C8A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3C8A#FFFFFF#000000##FFFFFF
##4B3C8A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#144788
Tritanopia (blue-blind)
#384D5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b3c8a;
/* rgb */ color: rgb(75, 60, 138);
/* oklch */ color: oklch(41.5% 0.125 288.6);
Tailwind
colors: {
  custom: {
    50: '#8272ad',
    500: '#4b3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4b3c8a;
$custom-light: #8272ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3c8a",
  "rgb": {
    "r": 75,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 251.538,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.12473,
    "h": 288.6
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#4B3C8A
secondary
#A4AF73
accent
#CF59B8
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4B3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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