#4F2EAE#4F2EAE

#4F2EAE is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.190 H 287.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4F2EAE
RGBrgb(79, 46, 174)
HSLhsl(255, 58%, 43%)
HSVhsv(255, 74%, 68%)
CMYKcmyk(54.6%, 73.6%, 0%, 31.8%)
CIE-LABlab(31.05, 46.92, -62.95)
CIE-LCHlch(31.05, 78.51, 306.70°)
OKLaboklab(42.64% 0.056 -0.1811)
OKLCHoklch(42.64% 0.19 287.2)
XYZxyz(11.8392, 6.6716, 40.7001)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2EAE #8DAE2E
analogous
#2E4DAE #4F2EAE #8F2EAE
triadic
#4F2EAE #AE4F2E #2EAE4F
tetradic
#4F2EAE #AE2E4D #8DAE2E #2EAE8F
square
#4F2EAE #AE2E4D #8DAE2E #2EAE8F
split-complementary
#4F2EAE #AE8F2E #4DAE2E
monochromatic
#23144D #39217E #4F2EAE #6C4ACF #947ADC

Accessibility & contrast

On white

9.00
#4F2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4F2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2EAE
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2EAE#FFFFFF#000000##FFFFFF
##4F2EAE1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#27516B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f2eae;
/* rgb */ color: rgb(79, 46, 174);
/* oklch */ color: oklch(42.6% 0.190 287.2);
Tailwind
colors: {
  custom: {
    50: '#8a6ac7',
    500: '#4f2eae',
    950: '#000000',
  },
}
SCSS
$custom: #4f2eae;
$custom-light: #8a6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2eae",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 255.469,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.18953,
    "h": 287.2
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#4F2EAE
secondary
#AFC474
accent
#E146B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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