#4C2383#4C2383

#4C2383 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.151 H 298.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4C2383
RGBrgb(76, 35, 131)
HSLhsl(266, 58%, 33%)
HSVhsv(266, 73%, 51%)
CMYKcmyk(42%, 73.3%, 0%, 48.6%)
CIE-LABlab(24.88, 39.92, -46.71)
CIE-LCHlch(24.88, 61.45, 310.52°)
OKLaboklab(37.02% 0.0712 -0.1335)
OKLCHoklch(37.02% 0.151 298.1)
XYZxyz(7.6772, 4.3771, 21.9087)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2383 #5A8323
analogous
#232A83 #4C2383 #7C2383
triadic
#4C2383 #834C23 #23834C
tetradic
#4C2383 #83232A #5A8323 #23837C
square
#4C2383 #83232A #5A8323 #23837C
split-complementary
#4C2383 #837C23 #2A8323
monochromatic
#140922 #301653 #4C2383 #6830B3 #8750D0

Accessibility & contrast

On white

11.20
#4C2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2383
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2383#FFFFFF#000000##FFFFFF
##4C23831.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#3E3B50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c2383;
/* rgb */ color: rgb(76, 35, 131);
/* oklch */ color: oklch(37.0% 0.151 298.1);
Tailwind
colors: {
  custom: {
    50: '#8362a8',
    500: '#4c2383',
    950: '#000000',
  },
}
SCSS
$custom: #4c2383;
$custom-light: #8362a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2383",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 265.625,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37016,
    "c": 0.15127,
    "h": 298.1
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#4C2383
secondary
#88B44E
accent
#E1479F
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4C2383

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

Preview Lab → · Contrast checker → · Palette generator →

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