#4C2467#4C2467

#4C2467 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.9% C 0.116 H 309.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#4C2467
RGBrgb(76, 36, 103)
HSLhsl(276, 48%, 27%)
HSVhsv(276, 65%, 40%)
CMYKcmyk(26.2%, 65%, 0%, 59.6%)
CIE-LABlab(22.92, 31.97, -31.98)
CIE-LCHlch(22.92, 45.22, 314.99°)
OKLaboklab(34.93% 0.0734 -0.0901)
OKLCHoklch(34.93% 0.116 309.1)
XYZxyz(6.0591, 3.7776, 13.2393)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2467 #3F6724
analogous
#2B2467 #4C2467 #672460
triadic
#4C2467 #674C24 #24674C
tetradic
#4C2467 #672B24 #3F6724 #246067
square
#4C2467 #672B24 #3F6724 #246067
split-complementary
#4C2467 #606724 #24672B
monochromatic
#110817 #2B143A #4C2467 #6D3494 #8E47BF

Accessibility & contrast

On white

11.96
#4C2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4C2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2467
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2467#FFFFFF#000000##FFFFFF
##4C24671.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063569
Deuteranopia (green-blind)
#1B3765
Tritanopia (blue-blind)
#483142
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4c2467;
/* rgb */ color: rgb(76, 36, 103);
/* oklch */ color: oklch(34.9% 0.116 309.1);
Tailwind
colors: {
  custom: {
    50: '#816193',
    500: '#4c2467',
    950: '#000000',
  },
}
SCSS
$custom: #4c2467;
$custom-light: #816193;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2467",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 275.821,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.11623,
    "h": 309.1
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#4C2467
secondary
#6C9A4C
accent
#D85087
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4C2467

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

Preview Lab → · Contrast checker → · Palette generator →

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