#4F2FAE#4F2FAE

#4F2FAE is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.188 H 287.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4F2FAE
RGBrgb(79, 47, 174)
HSLhsl(255, 57%, 43%)
HSVhsv(255, 73%, 68%)
CMYKcmyk(54.6%, 73%, 0%, 31.8%)
CIE-LABlab(31.23, 46.40, -62.65)
CIE-LCHlch(31.23, 77.96, 306.52°)
OKLaboklab(42.77% 0.0552 -0.1802)
OKLCHoklch(42.77% 0.188 287)
XYZxyz(11.8787, 6.7507, 40.7133)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FAE #8EAE2F
analogous
#2F4EAE #4F2FAE #8E2FAE
triadic
#4F2FAE #AE4F2F #2FAE4F
tetradic
#4F2FAE #AE2F4E #8EAE2F #2FAE8E
square
#4F2FAE #AE2F4E #8EAE2F #2FAE8E
split-complementary
#4F2FAE #AE8E2F #4EAE2F
monochromatic
#23154E #39227E #4F2FAE #6D4CCF #947CDC

Accessibility & contrast

On white

8.94
#4F2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4F2FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FAE
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FAE#FFFFFF#000000##FFFFFF
##4F2FAE1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#27516C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f2fae;
/* rgb */ color: rgb(79, 47, 174);
/* oklch */ color: oklch(42.8% 0.188 287.0);
Tailwind
colors: {
  custom: {
    50: '#8a6bc7',
    500: '#4f2fae',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fae;
$custom-light: #8a6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fae",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 255.118,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.18844,
    "h": 287
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#4F2FAE
secondary
#B0C475
accent
#E147BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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