#4C2B60#4C2B60

#4C2B60 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.6% C 0.095 H 311.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#4C2B60
RGBrgb(76, 43, 96)
HSLhsl(277, 38%, 27%)
HSVhsv(277, 55%, 38%)
CMYKcmyk(20.8%, 55.2%, 0%, 62.4%)
CIE-LABlab(24.03, 26.05, -25.64)
CIE-LCHlch(24.03, 36.56, 315.46°)
OKLaboklab(35.59% 0.0628 -0.0717)
OKLCHoklch(35.59% 0.095 311.2)
XYZxyz(5.9553, 4.1089, 11.5434)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2B60 #3F602B
analogous
#322B60 #4C2B60 #602B5A
triadic
#4C2B60 #604C2B #2B604C
tetradic
#4C2B60 #60322B #3F602B #2B5A60
square
#4C2B60 #60322B #3F602B #2B5A60
split-complementary
#4C2B60 #5A602B #2B6032
monochromatic
#110915 #2B1836 #4C2B60 #6D3E8A #8E53B2

Accessibility & contrast

On white

11.53
#4C2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4C2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2B60
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2B60#FFFFFF#000000##FFFFFF
##4C2B601.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3862
Deuteranopia (green-blind)
#273A5F
Tritanopia (blue-blind)
#4A3441
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4c2b60;
/* rgb */ color: rgb(76, 43, 96);
/* oklch */ color: oklch(35.6% 0.095 311.2);
Tailwind
colors: {
  custom: {
    50: '#80658d',
    500: '#4c2b60',
    950: '#000000',
  },
}
SCSS
$custom: #4c2b60;
$custom-light: #80658d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2b60",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 277.358,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.09527,
    "h": 311.2
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#4C2B60
secondary
#6C9255
accent
#CE5A86
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4C2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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