#4C2384#4C2384

#4C2384 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.152 H 297.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#4C2384
RGBrgb(76, 35, 132)
HSLhsl(265, 58%, 33%)
HSVhsv(265, 73%, 52%)
CMYKcmyk(42.4%, 73.5%, 0%, 48.2%)
CIE-LABlab(24.97, 40.20, -47.20)
CIE-LCHlch(24.97, 62.00, 310.42°)
OKLaboklab(37.1% 0.071 -0.1349)
OKLCHoklch(37.1% 0.152 297.8)
XYZxyz(7.7453, 4.4044, 22.2674)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2384 #5B8423
analogous
#232A84 #4C2384 #7D2384
triadic
#4C2384 #844C23 #23844C
tetradic
#4C2384 #84232A #5B8423 #23847D
square
#4C2384 #84232A #5B8423 #23847D
split-complementary
#4C2384 #847D23 #2A8423
monochromatic
#140923 #301654 #4C2384 #6830B4 #8751D1

Accessibility & contrast

On white

11.16
#4C2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4C2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2384
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2384#FFFFFF#000000##FFFFFF
##4C23841.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#3E3B51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c2384;
/* rgb */ color: rgb(76, 35, 132);
/* oklch */ color: oklch(37.1% 0.152 297.8);
Tailwind
colors: {
  custom: {
    50: '#8362a9',
    500: '#4c2384',
    950: '#000000',
  },
}
SCSS
$custom: #4c2384;
$custom-light: #8362a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2384",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 265.361,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37102,
    "c": 0.15244,
    "h": 297.8
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#4C2384
secondary
#89B44E
accent
#E146A0
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4C2384

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

Preview Lab → · Contrast checker → · Palette generator →

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