#4C104F#4C104F

#4C104F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.120 H 325.9°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#4C104F
RGBrgb(76, 16, 79)
HSLhsl(297, 66%, 19%)
HSVhsv(297, 80%, 31%)
CMYKcmyk(3.8%, 79.7%, 0%, 69%)
CIE-LABlab(17.79, 36.26, -24.20)
CIE-LCHlch(17.79, 43.59, 326.28°)
OKLaboklab(30.71% 0.0995 -0.0673)
OKLCHoklch(30.71% 0.12 325.9)
XYZxyz(4.5770, 2.4719, 7.6317)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C104F #134F10
analogous
#2C104F #4C104F #4F1032
triadic
#4C104F #4F4C10 #104F4C
tetradic
#4C104F #4F2C10 #134F10 #10324F
square
#4C104F #4F2C10 #134F10 #10324F
split-complementary
#4C104F #324F10 #104F2C
monochromatic
#180519 #1B061C #4C104F #7D1A82 #AE25B5

Accessibility & contrast

On white

14.05
#4C104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C104F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C104F#FFFFFF#000000##FFFFFF
##4C104F1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012751
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#4E1B2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c104f;
/* rgb */ color: rgb(76, 16, 79);
/* oklch */ color: oklch(30.7% 0.120 325.9);
Tailwind
colors: {
  custom: {
    50: '#815680',
    500: '#4c104f',
    950: '#000000',
  },
}
SCSS
$custom: #4c104f;
$custom-light: #815680;
$custom-dark: #000000;
JSON
{
  "hex": "#4c104f",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 297.143,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30709,
    "c": 0.1201,
    "h": 325.9
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#4C104F
secondary
#368932
accent
#E93F47
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C104F

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

Preview Lab → · Contrast checker → · Palette generator →

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