#4C2FC2#4C2FC2

#4C2FC2 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.212 H 282.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4C2FC2
RGBrgb(76, 47, 194)
HSLhsl(252, 61%, 47%)
HSVhsv(252, 76%, 76%)
CMYKcmyk(60.8%, 75.8%, 0%, 23.9%)
CIE-LABlab(32.84, 51.84, -71.87)
CIE-LCHlch(32.84, 88.62, 305.81°)
OKLaboklab(44.4% 0.046 -0.2072)
OKLCHoklch(44.4% 0.212 282.5)
XYZxyz(13.7316, 7.4636, 51.7455)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2FC2 #A5C22F
analogous
#2F5BC2 #4C2FC2 #962FC2
triadic
#4C2FC2 #C24C2F #2FC24C
tetradic
#4C2FC2 #C22F5B #A5C22F #2FC296
square
#4C2FC2 #C22F5B #A5C22F #2FC296
split-complementary
#4C2FC2 #C2962F #5BC22F
monochromatic
#25175F #392391 #4C2FC2 #7158D6 #9B89E2

Accessibility & contrast

On white

8.42
#4C2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4C2FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2FC2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2FC2#FFFFFF#000000##FFFFFF
##4C2FC21.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c2fc2;
/* rgb */ color: rgb(76, 47, 194);
/* oklch */ color: oklch(44.4% 0.212 282.5);
Tailwind
colors: {
  custom: {
    50: '#8c6bd6',
    500: '#4c2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4c2fc2;
$custom-light: #8c6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2fc2",
  "rgb": {
    "r": 76,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 251.837,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.21228,
    "h": 282.5
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#4C2FC2
secondary
#BDCC81
accent
#E444C4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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