#4C195E#4C195E

#4C195E is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.123 H 315.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#4C195E
RGBrgb(76, 25, 94)
HSLhsl(284, 58%, 23%)
HSVhsv(284, 73%, 37%)
CMYKcmyk(19.1%, 73.4%, 0%, 63.1%)
CIE-LABlab(20.20, 35.55, -30.42)
CIE-LCHlch(20.20, 46.79, 319.44°)
OKLaboklab(32.77% 0.0882 -0.0855)
OKLCHoklch(32.77% 0.123 315.9)
XYZxyz(5.3482, 3.0401, 10.8926)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C195E #2B5E19
analogous
#29195E #4C195E #5E194D
triadic
#4C195E #5E4C19 #195E4C
tetradic
#4C195E #5E2919 #2B5E19 #194D5E
square
#4C195E #5E2919 #2B5E19 #194D5E
split-complementary
#4C195E #4D5E19 #195E29
monochromatic
#140618 #250C2E #4C195E #73268E #9A33BF

Accessibility & contrast

On white

13.06
#4C195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C195E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C195E#FFFFFF#000000##FFFFFF
##4C195E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#18325C
Tritanopia (blue-blind)
#4B2739
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c195e;
/* rgb */ color: rgb(76, 25, 94);
/* oklch */ color: oklch(32.8% 0.123 315.9);
Tailwind
colors: {
  custom: {
    50: '#815b8c',
    500: '#4c195e',
    950: '#000000',
  },
}
SCSS
$custom: #4c195e;
$custom-light: #815b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c195e",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 284.348,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32766,
    "c": 0.12286,
    "h": 315.9
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#4C195E
secondary
#55943F
accent
#E1476F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4C195E

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

Preview Lab → · Contrast checker → · Palette generator →

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