#4F3AA5#4F3AA5

#4F3AA5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.164 H 286.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4F3AA5
RGBrgb(79, 58, 165)
HSLhsl(252, 48%, 44%)
HSVhsv(252, 65%, 65%)
CMYKcmyk(52.1%, 64.8%, 0%, 35.3%)
CIE-LABlab(32.71, 37.53, -54.84)
CIE-LCHlch(32.71, 66.45, 304.39°)
OKLaboklab(43.59% 0.0465 -0.1573)
OKLCHoklch(43.59% 0.164 286.5)
XYZxyz(11.5270, 7.4044, 36.4118)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3AA5 #90A53A
analogous
#3A5AA5 #4F3AA5 #843AA5
triadic
#4F3AA5 #A54F3A #3AA54F
tetradic
#4F3AA5 #A53A5A #90A53A #3AA584
square
#4F3AA5 #A53A5A #90A53A #3AA584
split-complementary
#4F3AA5 #A5843A #5AA53A
monochromatic
#241A4A #392A78 #4F3AA5 #6D58C4 #9585D4

Accessibility & contrast

On white

8.46
#4F3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4F3AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3AA5
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3AA5#FFFFFF#000000##FFFFFF
##4F3AA51.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#2E546A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f3aa5;
/* rgb */ color: rgb(79, 58, 165);
/* oklch */ color: oklch(43.6% 0.164 286.5);
Tailwind
colors: {
  custom: {
    50: '#8871c1',
    500: '#4f3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #4f3aa5;
$custom-light: #8871c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3aa5",
  "rgb": {
    "r": 79,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 251.776,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.164,
    "h": 286.5
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#4F3AA5
secondary
#B1BE7D
accent
#D850BD
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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