#4C1070#4C1070

#4C1070 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.152 H 308.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4C1070
RGBrgb(76, 16, 112)
HSLhsl(278, 75%, 25%)
HSVhsv(278, 86%, 44%)
CMYKcmyk(32.1%, 85.7%, 0%, 56.1%)
CIE-LABlab(20.35, 43.39, -41.98)
CIE-LCHlch(20.35, 60.38, 315.95°)
OKLaboklab(33.32% 0.0937 -0.1194)
OKLCHoklch(33.32% 0.152 308.1)
XYZxyz(6.0898, 3.0770, 15.5992)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1070 #347010
analogous
#1C1070 #4C1070 #701064
triadic
#4C1070 #704C10 #10704C
tetradic
#4C1070 #701C10 #347010 #106470
square
#4C1070 #701C10 #347010 #106470
split-complementary
#4C1070 #647010 #10701C
monochromatic
#12041B #28083A #4C1070 #7018A6 #951FDB

Accessibility & contrast

On white

13.00
#4C1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4C1070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1070
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1070#FFFFFF#000000##FFFFFF
##4C10701.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#462A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1070;
/* rgb */ color: rgb(76, 16, 112);
/* oklch */ color: oklch(33.3% 0.152 308.1);
Tailwind
colors: {
  custom: {
    50: '#83579a',
    500: '#4c1070',
    950: '#000000',
  },
}
SCSS
$custom: #4c1070;
$custom-light: #83579a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1070",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 277.5,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3332,
    "c": 0.15176,
    "h": 308.1
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#4C1070
secondary
#5FA834
accent
#F2367C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1070

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

Preview Lab → · Contrast checker → · Palette generator →

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