#4F2AC4#4F2AC4

#4F2AC4 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.219 H 284.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4F2AC4
RGBrgb(79, 42, 196)
HSLhsl(254, 65%, 47%)
HSVhsv(254, 79%, 77%)
CMYKcmyk(59.7%, 78.6%, 0%, 23.1%)
CIE-LABlab(32.49, 55.15, -73.62)
CIE-LCHlch(32.49, 91.98, 306.84°)
OKLaboklab(44.28% 0.0529 -0.2122)
OKLCHoklch(44.28% 0.219 284)
XYZxyz(14.0132, 7.3028, 52.8850)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AC4 #9FC42A
analogous
#2A52C4 #4F2AC4 #9C2AC4
triadic
#4F2AC4 #C44F2A #2AC44F
tetradic
#4F2AC4 #C42A52 #9FC42A #2AC49C
square
#4F2AC4 #C42A52 #9FC42A #2AC49C
split-complementary
#4F2AC4 #C49C2A #52C42A
monochromatic
#26145F #3B1F92 #4F2AC4 #7251DA #9B84E5

Accessibility & contrast

On white

8.53
#4F2AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F2AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2AC4
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AC4#FFFFFF#000000##FFFFFF
##4F2AC41.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2ac4;
/* rgb */ color: rgb(79, 42, 196);
/* oklch */ color: oklch(44.3% 0.219 284.0);
Tailwind
colors: {
  custom: {
    50: '#8e69d7',
    500: '#4f2ac4',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ac4;
$custom-light: #8e69d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ac4",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 254.416,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44284,
    "c": 0.2187,
    "h": 284
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#4F2AC4
secondary
#BACE7C
accent
#E840BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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