#4F3699#4F3699

#4F3699 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.154 H 289.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4F3699
RGBrgb(79, 54, 153)
HSLhsl(255, 48%, 41%)
HSVhsv(255, 65%, 60%)
CMYKcmyk(48.4%, 64.7%, 0%, 40%)
CIE-LABlab(30.88, 36.25, -50.55)
CIE-LCHlch(30.88, 62.21, 305.65°)
OKLaboklab(41.96% 0.0519 -0.1447)
OKLCHoklch(41.96% 0.154 289.7)
XYZxyz(10.2917, 6.6001, 30.8625)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3699 #809936
analogous
#364E99 #4F3699 #813699
triadic
#4F3699 #994F36 #36994F
tetradic
#4F3699 #99364E #809936 #369981
square
#4F3699 #99364E #809936 #369981
split-complementary
#4F3699 #998136 #4E9936
monochromatic
#20163F #38266C #4F3699 #694CC0 #8F7AD0

Accessibility & contrast

On white

9.05
#4F3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4F3699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3699
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3699#FFFFFF#000000##FFFFFF
##4F36991.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#374E62
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f3699;
/* rgb */ color: rgb(79, 54, 153);
/* oklch */ color: oklch(42.0% 0.154 289.7);
Tailwind
colors: {
  custom: {
    50: '#876eb8',
    500: '#4f3699',
    950: '#000000',
  },
}
SCSS
$custom: #4f3699;
$custom-light: #876eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3699",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 255.152,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41962,
    "c": 0.15371,
    "h": 289.7
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#4F3699
secondary
#A7B972
accent
#D750B5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4F3699

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

Preview Lab → · Contrast checker → · Palette generator →

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