#4F3C97#4F3C97

#4F3C97 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.8% C 0.143 H 288.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4F3C97
RGBrgb(79, 60, 151)
HSLhsl(253, 43%, 41%)
HSVhsv(253, 60%, 59%)
CMYKcmyk(47.7%, 60.3%, 0%, 40.8%)
CIE-LABlab(32.10, 32.03, -47.36)
CIE-LCHlch(32.10, 57.17, 304.07°)
OKLaboklab(42.8% 0.0452 -0.1353)
OKLCHoklch(42.8% 0.143 288.5)
XYZxyz(10.4246, 7.1279, 30.0987)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3C97 #84973C
analogous
#3C5797 #4F3C97 #7D3C97
triadic
#4F3C97 #974F3C #3C974F
tetradic
#4F3C97 #973C57 #84973C #3C977D
square
#4F3C97 #973C57 #84973C #3C977D
split-complementary
#4F3C97 #977D3C #57973C
monochromatic
#21193F #382B6B #4F3C97 #6A55BB #9181CD

Accessibility & contrast

On white

8.66
#4F3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4F3C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3C97
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3C97#FFFFFF#000000##FFFFFF
##4F3C971.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#385163
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f3c97;
/* rgb */ color: rgb(79, 60, 151);
/* oklch */ color: oklch(42.8% 0.143 288.5);
Tailwind
colors: {
  custom: {
    50: '#8672b6',
    500: '#4f3c97',
    950: '#000000',
  },
}
SCSS
$custom: #4f3c97;
$custom-light: #8672b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3c97",
  "rgb": {
    "r": 79,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 252.527,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.14264,
    "h": 288.5
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#4F3C97
secondary
#AAB778
accent
#D355B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4F3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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