#4F2CC0#4F2CC0

#4F2CC0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.212 H 284.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4F2CC0
RGBrgb(79, 44, 192)
HSLhsl(254, 63%, 46%)
HSVhsv(254, 77%, 75%)
CMYKcmyk(58.9%, 77.1%, 0%, 24.7%)
CIE-LABlab(32.41, 53.09, -71.39)
CIE-LCHlch(32.41, 88.97, 306.64°)
OKLaboklab(44.11% 0.0528 -0.2057)
OKLCHoklch(44.11% 0.212 284.4)
XYZxyz(13.6366, 7.2685, 50.5433)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CC0 #9DC02C
analogous
#2C53C0 #4F2CC0 #992CC0
triadic
#4F2CC0 #C04F2C #2CC04F
tetradic
#4F2CC0 #C02C53 #9DC02C #2CC099
square
#4F2CC0 #C02C53 #9DC02C #2CC099
split-complementary
#4F2CC0 #C0992C #53C02C
monochromatic
#26155C #3B218E #4F2CC0 #7152D7 #9A84E3

Accessibility & contrast

On white

8.56
#4F2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4F2CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CC0
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CC0#FFFFFF#000000##FFFFFF
##4F2CC01.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#075775
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2cc0;
/* rgb */ color: rgb(79, 44, 192);
/* oklch */ color: oklch(44.1% 0.212 284.4);
Tailwind
colors: {
  custom: {
    50: '#8e6ad4',
    500: '#4f2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cc0;
$custom-light: #8e6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cc0",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 254.189,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.2124,
    "h": 284.4
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#4F2CC0
secondary
#B9CC7C
accent
#E642BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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