#4F3CA5#4F3CA5

#4F3CA5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.161 H 286.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4F3CA5
RGBrgb(79, 60, 165)
HSLhsl(251, 47%, 44%)
HSVhsv(251, 64%, 65%)
CMYKcmyk(52.1%, 63.6%, 0%, 35.3%)
CIE-LABlab(33.16, 36.34, -54.11)
CIE-LCHlch(33.16, 65.18, 303.89°)
OKLaboklab(43.91% 0.0444 -0.1551)
OKLCHoklch(43.91% 0.161 286)
XYZxyz(11.6298, 7.6100, 36.4461)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3CA5 #92A53C
analogous
#3C5EA5 #4F3CA5 #843CA5
triadic
#4F3CA5 #A54F3C #3CA54F
tetradic
#4F3CA5 #A53C5E #92A53C #3CA584
square
#4F3CA5 #A53C5E #92A53C #3CA584
split-complementary
#4F3CA5 #A5843C #5EA53C
monochromatic
#241B4B #3A2C78 #4F3CA5 #6E5BC3 #9588D4

Accessibility & contrast

On white

8.33
#4F3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3CA5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3CA5#FFFFFF#000000##FFFFFF
##4F3CA51.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#2E556B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f3ca5;
/* rgb */ color: rgb(79, 60, 165);
/* oklch */ color: oklch(43.9% 0.161 286.0);
Tailwind
colors: {
  custom: {
    50: '#8873c0',
    500: '#4f3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ca5;
$custom-light: #8873c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ca5",
  "rgb": {
    "r": 79,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 250.857,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.16137,
    "h": 286
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#4F3CA5
secondary
#B3BE7F
accent
#D651BE
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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