#4F1689#4F1689

#4F1689 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.172 H 299.9°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#4F1689
RGBrgb(79, 22, 137)
HSLhsl(270, 72%, 31%)
HSVhsv(270, 84%, 54%)
CMYKcmyk(42.3%, 83.9%, 0%, 46.3%)
CIE-LABlab(23.81, 47.76, -52.21)
CIE-LCHlch(23.81, 70.76, 312.45°)
OKLaboklab(36.52% 0.0857 -0.1494)
OKLCHoklch(36.52% 0.172 299.9)
XYZxyz(8.0256, 4.0421, 24.0194)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1689 #508916
analogous
#161689 #4F1689 #881689
triadic
#4F1689 #894F16 #16894F
tetradic
#4F1689 #891616 #508916 #168988
square
#4F1689 #891616 #508916 #168988
split-complementary
#4F1689 #898816 #168916
monochromatic
#120520 #310E54 #4F1689 #6D1EBE #8C3ADF

Accessibility & contrast

On white

11.61
#4F1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4F1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1689
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1689#FFFFFF#000000##FFFFFF
##4F16891.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#413751
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1689;
/* rgb */ color: rgb(79, 22, 137);
/* oklch */ color: oklch(36.5% 0.172 299.9);
Tailwind
colors: {
  custom: {
    50: '#875cac',
    500: '#4f1689',
    950: '#000000',
  },
}
SCSS
$custom: #4f1689;
$custom-light: #875cac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1689",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 269.739,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36518,
    "c": 0.17223,
    "h": 299.9
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

primary
#4F1689
secondary
#7EBD3E
accent
#EF3995
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4F1689

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

Preview Lab → · Contrast checker → · Palette generator →

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