#4F2AC2#4F2AC2

#4F2AC2 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.216 H 284.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4F2AC2
RGBrgb(79, 42, 194)
HSLhsl(255, 64%, 46%)
HSVhsv(255, 78%, 76%)
CMYKcmyk(59.3%, 78.4%, 0%, 23.9%)
CIE-LABlab(32.29, 54.59, -72.77)
CIE-LCHlch(32.29, 90.97, 306.87°)
OKLaboklab(44.08% 0.0535 -0.2097)
OKLCHoklch(44.08% 0.216 284.3)
XYZxyz(13.7870, 7.2123, 51.6941)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AC2 #9DC22A
analogous
#2A51C2 #4F2AC2 #9B2AC2
triadic
#4F2AC2 #C24F2A #2AC24F
tetradic
#4F2AC2 #C22A51 #9DC22A #2AC29B
square
#4F2AC2 #C22A51 #9DC22A #2AC29B
split-complementary
#4F2AC2 #C29B2A #51C22A
monochromatic
#26145D #3B1F90 #4F2AC2 #7150D9 #9A82E4

Accessibility & contrast

On white

8.60
#4F2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4F2AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2AC2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AC2#FFFFFF#000000##FFFFFF
##4F2AC21.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2ac2;
/* rgb */ color: rgb(79, 42, 194);
/* oklch */ color: oklch(44.1% 0.216 284.3);
Tailwind
colors: {
  custom: {
    50: '#8e69d6',
    500: '#4f2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ac2;
$custom-light: #8e69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ac2",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 254.605,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44084,
    "c": 0.21646,
    "h": 284.3
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#4F2AC2
secondary
#B9CD7B
accent
#E740BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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