#4C1075#4C1075

#4C1075 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.157 H 306.0°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4C1075
RGBrgb(76, 16, 117)
HSLhsl(276, 76%, 26%)
HSVhsv(276, 86%, 46%)
CMYKcmyk(35%, 86.3%, 0%, 54.1%)
CIE-LABlab(20.80, 44.56, -44.48)
CIE-LCHlch(20.80, 62.96, 315.05°)
OKLaboklab(33.77% 0.0921 -0.1267)
OKLCHoklch(33.77% 0.157 306)
XYZxyz(6.3760, 3.1915, 17.1063)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1075 #397510
analogous
#1A1075 #4C1075 #75106B
triadic
#4C1075 #754C10 #10754C
tetradic
#4C1075 #751A10 #397510 #106B75
square
#4C1075 #751A10 #397510 #106B75
split-complementary
#4C1075 #6B7510 #10751A
monochromatic
#11041B #29093F #4C1075 #6F17AB #921FE0

Accessibility & contrast

On white

12.82
#4C1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4C1075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1075
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1075#FFFFFF#000000##FFFFFF
##4C10751.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#442C44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4c1075;
/* rgb */ color: rgb(76, 16, 117);
/* oklch */ color: oklch(33.8% 0.157 306.0);
Tailwind
colors: {
  custom: {
    50: '#83589e',
    500: '#4c1075',
    950: '#000000',
  },
}
SCSS
$custom: #4c1075;
$custom-light: #83589e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1075",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 275.644,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33767,
    "c": 0.15669,
    "h": 306
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#4C1075
secondary
#65AC35
accent
#F33582
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1075

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

Preview Lab → · Contrast checker → · Palette generator →

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