#4F2AC1#4F2AC1

#4F2AC1 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.0% C 0.215 H 284.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4F2AC1
RGBrgb(79, 42, 193)
HSLhsl(255, 64%, 46%)
HSVhsv(255, 78%, 76%)
CMYKcmyk(59.1%, 78.2%, 0%, 24.3%)
CIE-LABlab(32.19, 54.30, -72.35)
CIE-LCHlch(32.19, 90.46, 306.89°)
OKLaboklab(43.98% 0.0538 -0.2085)
OKLCHoklch(43.98% 0.215 284.5)
XYZxyz(13.6751, 7.1676, 51.1046)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AC1 #9CC12A
analogous
#2A50C1 #4F2AC1 #9A2AC1
triadic
#4F2AC1 #C14F2A #2AC14F
tetradic
#4F2AC1 #C12A50 #9CC12A #2AC19A
square
#4F2AC1 #C12A50 #9CC12A #2AC19A
split-complementary
#4F2AC1 #C19A2A #50C12A
monochromatic
#26145C #3A1F8F #4F2AC1 #714FD9 #9A82E4

Accessibility & contrast

On white

8.63
#4F2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4F2AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2AC1
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AC1#FFFFFF#000000##FFFFFF
##4F2AC11.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#035675
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2ac1;
/* rgb */ color: rgb(79, 42, 193);
/* oklch */ color: oklch(44.0% 0.215 284.5);
Tailwind
colors: {
  custom: {
    50: '#8e69d5',
    500: '#4f2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ac1;
$custom-light: #8e69d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ac1",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 254.702,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43984,
    "c": 0.21534,
    "h": 284.5
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#4F2AC1
secondary
#B8CD7A
accent
#E741BE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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