#4C1F73#4C1F73

#4C1F73 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.138 H 304.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#4C1F73
RGBrgb(76, 31, 115)
HSLhsl(272, 58%, 29%)
HSVhsv(272, 73%, 45%)
CMYKcmyk(33.9%, 73%, 0%, 54.9%)
CIE-LABlab(22.84, 37.72, -39.86)
CIE-LCHlch(22.84, 54.88, 313.42°)
OKLaboklab(35.15% 0.0785 -0.1133)
OKLCHoklch(35.15% 0.138 304.7)
XYZxyz(6.5643, 3.7543, 16.5952)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1F73 #46731F
analogous
#221F73 #4C1F73 #731F70
triadic
#4C1F73 #734C1F #1F734C
tetradic
#4C1F73 #73221F #46731F #1F7073
square
#4C1F73 #73221F #46731F #1F7073
split-complementary
#4C1F73 #70731F #1F7322
monochromatic
#100618 #2C1243 #4C1F73 #6C2CA3 #8B41CC

Accessibility & contrast

On white

11.99
#4C1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4C1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1F73
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1F73#FFFFFF#000000##FFFFFF
##4C1F731.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#453246
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4c1f73;
/* rgb */ color: rgb(76, 31, 115);
/* oklch */ color: oklch(35.2% 0.138 304.7);
Tailwind
colors: {
  custom: {
    50: '#825f9c',
    500: '#4c1f73',
    950: '#000000',
  },
}
SCSS
$custom: #4c1f73;
$custom-light: #825f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1f73",
  "rgb": {
    "r": 76,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 272.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.13783,
    "h": 304.7
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#4C1F73
secondary
#73A747
accent
#E1478E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4C1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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