#4F1A86#4F1A86

#4F1A86 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.165 H 300.4°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#4F1A86
RGBrgb(79, 26, 134)
HSLhsl(269, 68%, 31%)
HSVhsv(269, 81%, 53%)
CMYKcmyk(41%, 80.6%, 0%, 47.5%)
CIE-LABlab(24.07, 45.45, -49.90)
CIE-LCHlch(24.07, 67.49, 312.32°)
OKLaboklab(36.61% 0.0836 -0.1426)
OKLCHoklch(36.61% 0.165 300.4)
XYZxyz(7.8958, 4.1222, 22.9293)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A86 #51861A
analogous
#1A1B86 #4F1A86 #851A86
triadic
#4F1A86 #864F1A #1A864F
tetradic
#4F1A86 #861A1B #51861A #1A8685
square
#4F1A86 #861A1B #51861A #1A8685
split-complementary
#4F1A86 #86851A #1B861A
monochromatic
#13061F #311053 #4F1A86 #6D24B9 #8C40DA

Accessibility & contrast

On white

11.51
#4F1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4F1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1A86
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A86#FFFFFF#000000##FFFFFF
##4F1A861.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#423750
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1a86;
/* rgb */ color: rgb(79, 26, 134);
/* oklch */ color: oklch(36.6% 0.165 300.4);
Tailwind
colors: {
  custom: {
    50: '#865daa',
    500: '#4f1a86',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a86;
$custom-light: #865daa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a86",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 269.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36615,
    "c": 0.16532,
    "h": 300.4
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#4F1A86
secondary
#7FB942
accent
#EA3D96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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