#4C1250#4C1250

#4C1250 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 31.0% C 0.118 H 325.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#4C1250
RGBrgb(76, 18, 80)
HSLhsl(296, 63%, 19%)
HSVhsv(296, 78%, 31%)
CMYKcmyk(5%, 77.5%, 0%, 68.6%)
CIE-LABlab(18.14, 35.66, -24.33)
CIE-LCHlch(18.14, 43.17, 325.69°)
OKLaboklab(30.98% 0.0972 -0.0677)
OKLCHoklch(30.98% 0.118 325.2)
XYZxyz(4.6447, 2.5486, 7.8351)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1250 #165012
analogous
#2D1250 #4C1250 #501235
triadic
#4C1250 #504C12 #12504C
tetradic
#4C1250 #502D12 #165012 #123550
square
#4C1250 #502D12 #165012 #123550
split-complementary
#4C1250 #355012 #12502D
monochromatic
#180619 #1D071E #4C1250 #7B1D82 #AB28B4

Accessibility & contrast

On white

13.91
#4C1250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4C1250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1250
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1250#FFFFFF#000000##FFFFFF
##4C12501.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032852
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#4E1C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c1250;
/* rgb */ color: rgb(76, 18, 80);
/* oklch */ color: oklch(31.0% 0.118 325.2);
Tailwind
colors: {
  custom: {
    50: '#815681',
    500: '#4c1250',
    950: '#000000',
  },
}
SCSS
$custom: #4c1250;
$custom-light: #815681;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1250",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 296.129,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30977,
    "c": 0.11847,
    "h": 325.2
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#4C1250
secondary
#3A8935
accent
#E6414C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C1250

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

Preview Lab → · Contrast checker → · Palette generator →

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