#4C2FC6#4C2FC6

#4C2FC6 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.217 H 282.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4C2FC6
RGBrgb(76, 47, 198)
HSLhsl(252, 62%, 48%)
HSVhsv(252, 76%, 78%)
CMYKcmyk(61.6%, 76.3%, 0%, 22.4%)
CIE-LABlab(33.23, 53.01, -73.56)
CIE-LCHlch(33.23, 90.68, 305.78°)
OKLaboklab(44.8% 0.0449 -0.2122)
OKLCHoklch(44.8% 0.217 282)
XYZxyz(14.1869, 7.6457, 54.1433)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2FC6 #A9C62F
analogous
#2F5DC6 #4C2FC6 #972FC6
triadic
#4C2FC6 #C64C2F #2FC64C
tetradic
#4C2FC6 #C62F5D #A9C62F #2FC697
square
#4C2FC6 #C62F5D #A9C62F #2FC697
split-complementary
#4C2FC6 #C6972F #5DC62F
monochromatic
#261863 #392395 #4C2FC6 #725AD8 #9D8CE4

Accessibility & contrast

On white

8.30
#4C2FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4C2FC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2FC6
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2FC6#FFFFFF#000000##FFFFFF
##4C2FC61.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c2fc6;
/* rgb */ color: rgb(76, 47, 198);
/* oklch */ color: oklch(44.8% 0.217 282.0);
Tailwind
colors: {
  custom: {
    50: '#8d6cd9',
    500: '#4c2fc6',
    950: '#000000',
  },
}
SCSS
$custom: #4c2fc6;
$custom-light: #8d6cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2fc6",
  "rgb": {
    "r": 76,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 251.523,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.2169,
    "h": 282
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#4C2FC6
secondary
#BFCE83
accent
#E543C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C2FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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