#4F3BA4#4F3BA4

#4F3BA4 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.161 H 286.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4F3BA4
RGBrgb(79, 59, 164)
HSLhsl(251, 47%, 44%)
HSVhsv(251, 64%, 64%)
CMYKcmyk(51.8%, 64%, 0%, 35.7%)
CIE-LABlab(32.85, 36.63, -54.00)
CIE-LCHlch(32.85, 65.26, 304.15°)
OKLaboklab(43.67% 0.0455 -0.1548)
OKLCHoklch(43.67% 0.161 286.4)
XYZxyz(11.4873, 7.4700, 35.9513)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3BA4 #90A43B
analogous
#3B5BA4 #4F3BA4 #833BA4
triadic
#4F3BA4 #A44F3B #3BA44F
tetradic
#4F3BA4 #A43B5B #90A43B #3BA483
square
#4F3BA4 #A43B5B #90A43B #3BA483
split-complementary
#4F3BA4 #A4833B #5BA43B
monochromatic
#241B4A #392B77 #4F3BA4 #6D59C3 #9586D3

Accessibility & contrast

On white

8.42
#4F3BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4F3BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3BA4
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3BA4#FFFFFF#000000##FFFFFF
##4F3BA41.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#2F546A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f3ba4;
/* rgb */ color: rgb(79, 59, 164);
/* oklch */ color: oklch(43.7% 0.161 286.4);
Tailwind
colors: {
  custom: {
    50: '#8872c0',
    500: '#4f3ba4',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ba4;
$custom-light: #8872c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ba4",
  "rgb": {
    "r": 79,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 251.429,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43668,
    "c": 0.16138,
    "h": 286.4
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F3BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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