#4F3BA3#4F3BA3

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

Color values

HEX#4F3BA3
RGBrgb(79, 59, 163)
HSLhsl(252, 47%, 44%)
HSVhsv(252, 64%, 64%)
CMYKcmyk(51.5%, 63.8%, 0%, 36.1%)
CIE-LABlab(32.78, 36.32, -53.53)
CIE-LCHlch(32.78, 64.69, 304.16°)
OKLaboklab(43.59% 0.0456 -0.1534)
OKLCHoklch(43.59% 0.16 286.6)
XYZxyz(11.3973, 7.4340, 35.4776)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3BA3 #8FA33B
analogous
#3B5BA3 #4F3BA3 #833BA3
triadic
#4F3BA3 #A34F3B #3BA34F
tetradic
#4F3BA3 #A33B5B #8FA33B #3BA383
square
#4F3BA3 #A33B5B #8FA33B #3BA383
split-complementary
#4F3BA3 #A3833B #5BA33B
monochromatic
#231A49 #392B76 #4F3BA3 #6D58C3 #9485D3

Accessibility & contrast

On white

8.44
#4F3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F3BA3
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3BA3#FFFFFF#000000##FFFFFF
##4F3BA31.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#305469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f3ba3;
/* rgb */ color: rgb(79, 59, 163);
/* oklch */ color: oklch(43.6% 0.160 286.6);
Tailwind
colors: {
  custom: {
    50: '#8872bf',
    500: '#4f3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ba3;
$custom-light: #8872bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ba3",
  "rgb": {
    "r": 79,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 251.538,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.16007,
    "h": 286.6
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#4F3BA3
secondary
#B1BD7D
accent
#D651BD
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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