#4C2E66#4C2E66

#4C2E66 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.5% C 0.098 H 306.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#4C2E66
RGBrgb(76, 46, 102)
HSLhsl(272, 38%, 29%)
HSVhsv(272, 55%, 40%)
CMYKcmyk(25.5%, 54.9%, 0%, 60%)
CIE-LABlab(25.11, 25.76, -27.84)
CIE-LCHlch(25.11, 37.93, 312.78°)
OKLaboklab(36.51% 0.0587 -0.0781)
OKLCHoklch(36.51% 0.098 306.9)
XYZxyz(6.3553, 4.4499, 13.0919)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2E66 #48662E
analogous
#302E66 #4C2E66 #662E64
triadic
#4C2E66 #664C2E #2E664C
tetradic
#4C2E66 #66302E #48662E #2E6466
square
#4C2E66 #66302E #48662E #2E6466
split-complementary
#4C2E66 #64662E #2E6630
monochromatic
#100A15 #2D1B3C #4C2E66 #6B4190 #8A5AB5

Accessibility & contrast

On white

11.11
#4C2E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4C2E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2E66
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2E66#FFFFFF#000000##FFFFFF
##4C2E661.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A68
Deuteranopia (green-blind)
#263C65
Tritanopia (blue-blind)
#483845
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4c2e66;
/* rgb */ color: rgb(76, 46, 102);
/* oklch */ color: oklch(36.5% 0.098 306.9);
Tailwind
colors: {
  custom: {
    50: '#806892',
    500: '#4c2e66',
    950: '#000000',
  },
}
SCSS
$custom: #4c2e66;
$custom-light: #806892;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2e66",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 272.143,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.09772,
    "h": 306.9
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#4C2E66
secondary
#769858
accent
#CE5A90
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4C2E66

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

Preview Lab → · Contrast checker → · Palette generator →

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