#4F3C9F#4F3C9F

#4F3C9F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.4% C 0.153 H 287.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4F3C9F
RGBrgb(79, 60, 159)
HSLhsl(252, 45%, 43%)
HSVhsv(252, 62%, 62%)
CMYKcmyk(50.3%, 62.3%, 0%, 37.6%)
CIE-LABlab(32.69, 34.49, -51.25)
CIE-LCHlch(32.69, 61.77, 303.94°)
OKLaboklab(43.43% 0.0449 -0.1467)
OKLCHoklch(43.43% 0.153 287)
XYZxyz(11.0965, 7.3967, 33.6372)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3C9F #8C9F3C
analogous
#3C5B9F #4F3C9F #803C9F
triadic
#4F3C9F #9F4F3C #3C9F4F
tetradic
#4F3C9F #9F3C5B #8C9F3C #3C9F80
square
#4F3C9F #9F3C5B #8C9F3C #3C9F80
split-complementary
#4F3C9F #9F803C #5B9F3C
monochromatic
#231A46 #392B73 #4F3C9F #6C58C0 #9385D1

Accessibility & contrast

On white

8.47
#4F3C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F3C9F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3C9F#FFFFFF#000000##FFFFFF
##4F3C9F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#335367
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f3c9f;
/* rgb */ color: rgb(79, 60, 159);
/* oklch */ color: oklch(43.4% 0.153 287.0);
Tailwind
colors: {
  custom: {
    50: '#8773bc',
    500: '#4f3c9f',
    950: '#000000',
  },
}
SCSS
$custom: #4f3c9f;
$custom-light: #8773bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3c9f",
  "rgb": {
    "r": 79,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 251.515,
    "s": 45.205,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.15342,
    "h": 287
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#4F3C9F
secondary
#AFBB7C
accent
#D553BC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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