#4C1083#4C1083

#4C1083 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 35.1% C 0.171 H 300.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#4C1083
RGBrgb(76, 16, 131)
HSLhsl(271, 78%, 29%)
HSVhsv(271, 88%, 51%)
CMYKcmyk(42%, 87.8%, 0%, 48.6%)
CIE-LABlab(22.11, 47.90, -51.24)
CIE-LCHlch(22.11, 70.14, 313.07°)
OKLaboklab(35.08% 0.0872 -0.1466)
OKLCHoklch(35.08% 0.171 300.7)
XYZxyz(7.2615, 3.5457, 21.7701)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1083 #478310
analogous
#121083 #4C1083 #831081
triadic
#4C1083 #834C10 #10834C
tetradic
#4C1083 #831210 #478310 #108183
square
#4C1083 #831210 #478310 #108183
split-complementary
#4C1083 #818310 #108312
monochromatic
#10031B #2C094C #4C1083 #6C17BA #8B29E5

Accessibility & contrast

On white

12.29
#4C1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4C1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1083
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1083#FFFFFF#000000##FFFFFF
##4C10831.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#3F334C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4c1083;
/* rgb */ color: rgb(76, 16, 131);
/* oklch */ color: oklch(35.1% 0.171 300.7);
Tailwind
colors: {
  custom: {
    50: '#8559a8',
    500: '#4c1083',
    950: '#000000',
  },
}
SCSS
$custom: #4c1083;
$custom-light: #8559a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1083",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 271.304,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35077,
    "c": 0.17057,
    "h": 300.7
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#4C1083
secondary
#75B936
accent
#F53390
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4C1083

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

Preview Lab → · Contrast checker → · Palette generator →

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