#4F2CC2#4F2CC2

#4F2CC2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.215 H 284.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4F2CC2
RGBrgb(79, 44, 194)
HSLhsl(254, 63%, 47%)
HSVhsv(254, 77%, 76%)
CMYKcmyk(59.3%, 77.3%, 0%, 23.9%)
CIE-LABlab(32.61, 53.66, -72.24)
CIE-LCHlch(32.61, 89.99, 306.60°)
OKLaboklab(44.31% 0.0523 -0.2082)
OKLCHoklch(44.31% 0.215 284.1)
XYZxyz(13.8597, 7.3578, 51.7183)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CC2 #9FC22C
analogous
#2C54C2 #4F2CC2 #9A2CC2
triadic
#4F2CC2 #C24F2C #2CC24F
tetradic
#4F2CC2 #C22C54 #9FC22C #2CC29A
square
#4F2CC2 #C22C54 #9FC22C #2CC29A
split-complementary
#4F2CC2 #C29A2C #54C22C
monochromatic
#26155E #3B2190 #4F2CC2 #7253D8 #9B85E3

Accessibility & contrast

On white

8.50
#4F2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4F2CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CC2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CC2#FFFFFF#000000##FFFFFF
##4F2CC21.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2cc2;
/* rgb */ color: rgb(79, 44, 194);
/* oklch */ color: oklch(44.3% 0.215 284.1);
Tailwind
colors: {
  custom: {
    50: '#8e6ad6',
    500: '#4f2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cc2;
$custom-light: #8e6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cc2",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 254,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.21467,
    "h": 284.1
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#4F2CC2
secondary
#BACD7D
accent
#E642C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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