#4B3D8A#4B3D8A

#4B3D8A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 41.6% C 0.123 H 288.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4B3D8A
RGBrgb(75, 61, 138)
HSLhsl(251, 39%, 39%)
HSVhsv(251, 56%, 54%)
CMYKcmyk(45.7%, 55.8%, 0%, 45.9%)
CIE-LABlab(31.04, 26.46, -41.11)
CIE-LCHlch(31.04, 48.89, 302.76°)
OKLaboklab(41.64% 0.0385 -0.117)
OKLCHoklch(41.64% 0.123 288.2)
XYZxyz(9.1565, 6.6680, 24.8444)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3D8A #7C8A3D
analogous
#3D568A #4B3D8A #723D8A
triadic
#4B3D8A #8A4B3D #3D8A4B
tetradic
#4B3D8A #8A3D56 #7C8A3D #3D8A72
square
#4B3D8A #8A3D56 #7C8A3D #3D8A72
split-complementary
#4B3D8A #8A723D #568A3D
monochromatic
#1D1735 #342A60 #4B3D8A #6352B2 #897CC5

Accessibility & contrast

On white

9.00
#4B3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4B3D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3D8A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3D8A#FFFFFF#000000##FFFFFF
##4B3D8A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8D
Deuteranopia (green-blind)
#164788
Tritanopia (blue-blind)
#384E5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b3d8a;
/* rgb */ color: rgb(75, 61, 138);
/* oklch */ color: oklch(41.6% 0.123 288.2);
Tailwind
colors: {
  custom: {
    50: '#8273ad',
    500: '#4b3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #4b3d8a;
$custom-light: #8273ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3d8a",
  "rgb": {
    "r": 75,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 250.909,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41637,
    "c": 0.1232,
    "h": 288.2
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#4B3D8A
secondary
#A4AF74
accent
#CF59B9
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4B3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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