#4F1A9F#4F1A9F

#4F1A9F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.192 H 293.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4F1A9F
RGBrgb(79, 26, 159)
HSLhsl(264, 72%, 36%)
HSVhsv(264, 84%, 62%)
CMYKcmyk(50.3%, 83.6%, 0%, 37.6%)
CIE-LABlab(26.46, 51.84, -61.44)
CIE-LCHlch(26.46, 80.39, 310.16°)
OKLaboklab(39% 0.0752 -0.1764)
OKLCHoklch(39% 0.192 293.1)
XYZxyz(9.8501, 4.9039, 33.2217)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A9F #6A9F1A
analogous
#1A279F #4F1A9F #921A9F
triadic
#4F1A9F #9F4F1A #1A9F4F
tetradic
#4F1A9F #9F1A27 #6A9F1A #1A9F92
square
#4F1A9F #9F1A27 #6A9F1A #1A9F92
split-complementary
#4F1A9F #9F921A #279F1A
monochromatic
#1B0936 #35116A #4F1A9F #6923D4 #8B51E3

Accessibility & contrast

On white

10.60
#4F1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1A9F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A9F#FFFFFF#000000##FFFFFF
##4F1A9F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#35425E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1a9f;
/* rgb */ color: rgb(79, 26, 159);
/* oklch */ color: oklch(39.0% 0.192 293.1);
Tailwind
colors: {
  custom: {
    50: '#8a5fbd',
    500: '#4f1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a9f;
$custom-light: #8a5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a9f",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 263.91,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38996,
    "c": 0.19181,
    "h": 293.1
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#4F1A9F
secondary
#96C550
accent
#EF39A6
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4F1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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