#4F2DAE#4F2DAE

#4F2DAE is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.191 H 287.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4F2DAE
RGBrgb(79, 45, 174)
HSLhsl(256, 59%, 43%)
HSVhsv(256, 74%, 68%)
CMYKcmyk(54.6%, 74.1%, 0%, 31.8%)
CIE-LABlab(30.87, 47.43, -63.25)
CIE-LCHlch(30.87, 79.06, 306.86°)
OKLaboklab(42.51% 0.0568 -0.1819)
OKLCHoklch(42.51% 0.191 287.3)
XYZxyz(11.8005, 6.5944, 40.6872)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DAE #8CAE2D
analogous
#2D4BAE #4F2DAE #8F2DAE
triadic
#4F2DAE #AE4F2D #2DAE4F
tetradic
#4F2DAE #AE2D4B #8CAE2D #2DAE8F
square
#4F2DAE #AE2D4B #8CAE2D #2DAE8F
split-complementary
#4F2DAE #AE8F2D #4BAE2D
monochromatic
#23144D #39207D #4F2DAE #6C48D0 #9379DC

Accessibility & contrast

On white

9.06
#4F2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4F2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DAE
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DAE#FFFFFF#000000##FFFFFF
##4F2DAE1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2dae;
/* rgb */ color: rgb(79, 45, 174);
/* oklch */ color: oklch(42.5% 0.191 287.3);
Tailwind
colors: {
  custom: {
    50: '#8a6ac7',
    500: '#4f2dae',
    950: '#000000',
  },
}
SCSS
$custom: #4f2dae;
$custom-light: #8a6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2dae",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 255.814,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.19061,
    "h": 287.3
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#4F2DAE
secondary
#AFC472
accent
#E246B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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