#4C3B8A#4C3B8A

#4C3B8A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.4% C 0.126 H 289.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4C3B8A
RGBrgb(76, 59, 138)
HSLhsl(253, 40%, 39%)
HSVhsv(253, 57%, 54%)
CMYKcmyk(44.9%, 57.2%, 0%, 45.9%)
CIE-LABlab(30.64, 27.97, -41.75)
CIE-LCHlch(30.64, 50.25, 303.82°)
OKLaboklab(41.36% 0.0424 -0.1189)
OKLCHoklch(41.36% 0.126 289.6)
XYZxyz(9.1306, 6.4991, 24.8132)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3B8A #798A3B
analogous
#3B518A #4C3B8A #733B8A
triadic
#4C3B8A #8A4C3B #3B8A4C
tetradic
#4C3B8A #8A3B51 #798A3B #3B8A73
square
#4C3B8A #8A3B51 #798A3B #3B8A73
split-complementary
#4C3B8A #8A733B #518A3B
monochromatic
#1D1634 #34295F #4C3B8A #644FB4 #8A79C6

Accessibility & contrast

On white

9.13
#4C3B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4C3B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3B8A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3B8A#FFFFFF#000000##FFFFFF
##4C3B8A1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#3A4C5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c3b8a;
/* rgb */ color: rgb(76, 59, 138);
/* oklch */ color: oklch(41.4% 0.126 289.6);
Tailwind
colors: {
  custom: {
    50: '#8271ad',
    500: '#4c3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #4c3b8a;
$custom-light: #8271ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3b8a",
  "rgb": {
    "r": 76,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 252.911,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41363,
    "c": 0.12623,
    "h": 289.6
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#4C3B8A
secondary
#A2AF71
accent
#D058B6
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4C3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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