#4F418F#4F418F

#4F418F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.1% C 0.124 H 288.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4F418F
RGBrgb(79, 65, 143)
HSLhsl(251, 38%, 41%)
HSVhsv(251, 55%, 56%)
CMYKcmyk(44.8%, 54.5%, 0%, 43.9%)
CIE-LABlab(32.76, 26.44, -41.41)
CIE-LCHlch(32.76, 49.13, 302.56°)
OKLaboklab(43.11% 0.039 -0.1178)
OKLCHoklch(43.11% 0.124 288.3)
XYZxyz(10.0713, 7.4257, 26.8839)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F418F #818F41
analogous
#415A8F #4F418F #76418F
triadic
#4F418F #8F4F41 #418F4F
tetradic
#4F418F #8F415A #818F41 #418F76
square
#4F418F #8F415A #818F41 #418F76
split-complementary
#4F418F #8F7641 #5A8F41
monochromatic
#211B3B #382E65 #4F418F #6A59B4 #9084C7

Accessibility & contrast

On white

8.45
#4F418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F418F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F418F#FFFFFF#000000##FFFFFF
##4F418F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F92
Deuteranopia (green-blind)
#1C4B8D
Tritanopia (blue-blind)
#3C5261
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f418f;
/* rgb */ color: rgb(79, 65, 143);
/* oklch */ color: oklch(43.1% 0.124 288.3);
Tailwind
colors: {
  custom: {
    50: '#8576b0',
    500: '#4f418f',
    950: '#000000',
  },
}
SCSS
$custom: #4f418f;
$custom-light: #8576b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f418f",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 250.769,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.12405,
    "h": 288.3
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#4F418F
secondary
#A8B17A
accent
#CD5AB9
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4F418F

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

Preview Lab → · Contrast checker → · Palette generator →

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