#4C1483#4C1483

#4C1483 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.167 H 300.3°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#4C1483
RGBrgb(76, 20, 131)
HSLhsl(270, 74%, 30%)
HSVhsv(270, 85%, 51%)
CMYKcmyk(42%, 84.7%, 0%, 48.6%)
CIE-LABlab(22.57, 46.55, -50.49)
CIE-LCHlch(22.57, 68.68, 312.67°)
OKLaboklab(35.39% 0.0845 -0.1444)
OKLCHoklch(35.39% 0.167 300.3)
XYZxyz(7.3264, 3.6754, 21.7918)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1483 #4B8314
analogous
#141483 #4C1483 #831483
triadic
#4C1483 #834C14 #14834C
tetradic
#4C1483 #831414 #4B8314 #148383
square
#4C1483 #831414 #4B8314 #148383
split-complementary
#4C1483 #838314 #148314
monochromatic
#0F041B #2D0C4E #4C1483 #6B1CB8 #8932E0

Accessibility & contrast

On white

12.10
#4C1483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4C1483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1483
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1483#FFFFFF#000000##FFFFFF
##4C14831.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#3F344D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4c1483;
/* rgb */ color: rgb(76, 20, 131);
/* oklch */ color: oklch(35.4% 0.167 300.3);
Tailwind
colors: {
  custom: {
    50: '#845aa8',
    500: '#4c1483',
    950: '#000000',
  },
}
SCSS
$custom: #4c1483;
$custom-light: #845aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1483",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 131
  },
  "hsl": {
    "h": 270.27,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.16734,
    "h": 300.3
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#4C1483
secondary
#79B83B
accent
#F03893
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4C1483

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

Preview Lab → · Contrast checker → · Palette generator →

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