#4C2A67#4C2A67

#4C2A67 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.9% C 0.106 H 307.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#4C2A67
RGBrgb(76, 42, 103)
HSLhsl(273, 42%, 28%)
HSVhsv(273, 59%, 40%)
CMYKcmyk(26.2%, 59.2%, 0%, 59.6%)
CIE-LABlab(24.23, 28.47, -29.88)
CIE-LCHlch(24.23, 41.27, 313.61°)
OKLaboklab(35.89% 0.0648 -0.084)
OKLCHoklch(35.89% 0.106 307.6)
XYZxyz(6.2561, 4.1718, 13.3050)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2A67 #45672A
analogous
#2D2A67 #4C2A67 #672A63
triadic
#4C2A67 #674C2A #2A674C
tetradic
#4C2A67 #672D2A #45672A #2A6367
square
#4C2A67 #672D2A #45672A #2A6367
split-complementary
#4C2A67 #63672A #2A672D
monochromatic
#100916 #2C183C #4C2A67 #6C3C92 #8C53B9

Accessibility & contrast

On white

11.45
#4C2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4C2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2A67
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2A67#FFFFFF#000000##FFFFFF
##4C2A671.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153869
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#483544
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c2a67;
/* rgb */ color: rgb(76, 42, 103);
/* oklch */ color: oklch(35.9% 0.106 307.6);
Tailwind
colors: {
  custom: {
    50: '#806593',
    500: '#4c2a67',
    950: '#000000',
  },
}
SCSS
$custom: #4c2a67;
$custom-light: #806593;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2a67",
  "rgb": {
    "r": 76,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 273.443,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.10614,
    "h": 307.6
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#4C2A67
secondary
#729954
accent
#D2568D
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4C2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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