#4C2D64#4C2D64

#4C2D64 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.097 H 308.3°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#4C2D64
RGBrgb(76, 45, 100)
HSLhsl(274, 38%, 28%)
HSVhsv(274, 55%, 39%)
CMYKcmyk(24%, 55%, 0%, 60.8%)
CIE-LABlab(24.74, 25.85, -27.12)
CIE-LCHlch(24.74, 37.47, 313.63°)
OKLaboklab(36.2% 0.0601 -0.076)
OKLCHoklch(36.2% 0.097 308.3)
XYZxyz(6.2187, 4.3335, 12.5630)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2D64 #45642D
analogous
#302D64 #4C2D64 #642D60
triadic
#4C2D64 #644C2D #2D644C
tetradic
#4C2D64 #64302D #45642D #2D6064
square
#4C2D64 #64302D #45642D #2D6064
split-complementary
#4C2D64 #60642D #2D6430
monochromatic
#100915 #2C1A3A #4C2D64 #6C408E #8C58B4

Accessibility & contrast

On white

11.25
#4C2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4C2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2D64
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2D64#FFFFFF#000000##FFFFFF
##4C2D641.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3966
Deuteranopia (green-blind)
#273B63
Tritanopia (blue-blind)
#493744
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c2d64;
/* rgb */ color: rgb(76, 45, 100);
/* oklch */ color: oklch(36.2% 0.097 308.3);
Tailwind
colors: {
  custom: {
    50: '#806790',
    500: '#4c2d64',
    950: '#000000',
  },
}
SCSS
$custom: #4c2d64;
$custom-light: #806790;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2d64",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 273.818,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36202,
    "c": 0.09686,
    "h": 308.3
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#4C2D64
secondary
#729657
accent
#CE5A8D
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4C2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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