#4F3EAE#4F3EAE

#4F3EAE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.171 H 284.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4F3EAE
RGBrgb(79, 62, 174)
HSLhsl(249, 47%, 46%)
HSVhsv(249, 64%, 68%)
CMYKcmyk(54.6%, 64.4%, 0%, 31.8%)
CIE-LABlab(34.32, 37.95, -57.61)
CIE-LCHlch(34.32, 68.98, 303.37°)
OKLaboklab(44.98% 0.0416 -0.1654)
OKLCHoklch(44.98% 0.171 284.1)
XYZxyz(12.5847, 8.1628, 40.9486)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3EAE #9DAE3E
analogous
#3E65AE #4F3EAE #873EAE
triadic
#4F3EAE #AE4F3E #3EAE4F
tetradic
#4F3EAE #AE3E65 #9DAE3E #3EAE87
square
#4F3EAE #AE3E65 #9DAE3E #3EAE87
split-complementary
#4F3EAE #AE873E #65AE3E
monochromatic
#261E54 #3B2E81 #4F3EAE #7162C7 #9A8FD7

Accessibility & contrast

On white

7.98
#4F3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4F3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3EAE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3EAE#FFFFFF#000000##FFFFFF
##4F3EAE1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#255A70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f3eae;
/* rgb */ color: rgb(79, 62, 174);
/* oklch */ color: oklch(45.0% 0.171 284.1);
Tailwind
colors: {
  custom: {
    50: '#8974c7',
    500: '#4f3eae',
    950: '#000000',
  },
}
SCSS
$custom: #4f3eae;
$custom-light: #8974c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3eae",
  "rgb": {
    "r": 79,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 249.107,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44982,
    "c": 0.17054,
    "h": 284.1
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#4F3EAE
secondary
#B9C286
accent
#D751C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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