#4F2AC0#4F2AC0

#4F2AC0 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.214 H 284.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4F2AC0
RGBrgb(79, 42, 192)
HSLhsl(255, 64%, 46%)
HSVhsv(255, 78%, 75%)
CMYKcmyk(58.9%, 78.1%, 0%, 24.7%)
CIE-LABlab(32.09, 54.02, -71.93)
CIE-LCHlch(32.09, 89.95, 306.91°)
OKLaboklab(43.89% 0.0541 -0.2073)
OKLCHoklch(43.89% 0.214 284.6)
XYZxyz(13.5639, 7.1231, 50.5191)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AC0 #9BC02A
analogous
#2A50C0 #4F2AC0 #9A2AC0
triadic
#4F2AC0 #C04F2A #2AC04F
tetradic
#4F2AC0 #C02A50 #9BC02A #2AC09A
square
#4F2AC0 #C02A50 #9BC02A #2AC09A
split-complementary
#4F2AC0 #C09A2A #50C02A
monochromatic
#26145C #3A1F8E #4F2AC0 #714FD8 #9981E3

Accessibility & contrast

On white

8.66
#4F2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4F2AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2AC0
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AC0#FFFFFF#000000##FFFFFF
##4F2AC01.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2ac0;
/* rgb */ color: rgb(79, 42, 192);
/* oklch */ color: oklch(43.9% 0.214 284.6);
Tailwind
colors: {
  custom: {
    50: '#8e69d4',
    500: '#4f2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ac0;
$custom-light: #8e69d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ac0",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 254.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.21422,
    "h": 284.6
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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