#4C1165#4C1165

#4C1165 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.140 H 313.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#4C1165
RGBrgb(76, 17, 101)
HSLhsl(282, 71%, 23%)
HSVhsv(282, 83%, 40%)
CMYKcmyk(24.8%, 83.2%, 0%, 60.4%)
CIE-LABlab(19.55, 40.53, -36.11)
CIE-LCHlch(19.55, 54.28, 318.30°)
OKLaboklab(32.47% 0.0957 -0.1022)
OKLCHoklch(32.47% 0.14 313.1)
XYZxyz(5.5295, 2.8772, 12.5735)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1165 #2A6511
analogous
#221165 #4C1165 #651154
triadic
#4C1165 #654C11 #11654C
tetradic
#4C1165 #652211 #2A6511 #115465
square
#4C1165 #652211 #2A6511 #115465
split-complementary
#4C1165 #546511 #116522
monochromatic
#14041A #250831 #4C1165 #731A99 #9B23CE

Accessibility & contrast

On white

13.33
#4C1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1165
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1165#FFFFFF#000000##FFFFFF
##4C11651.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#063163
Tritanopia (blue-blind)
#49253B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1165;
/* rgb */ color: rgb(76, 17, 101);
/* oklch */ color: oklch(32.5% 0.140 313.1);
Tailwind
colors: {
  custom: {
    50: '#825791',
    500: '#4c1165',
    950: '#000000',
  },
}
SCSS
$custom: #4c1165;
$custom-light: #825791;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1165",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 282.143,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32467,
    "c": 0.13996,
    "h": 313.1
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#4C1165
secondary
#549D35
accent
#EE3A6F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C1165

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

Preview Lab → · Contrast checker → · Palette generator →

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