#4F1A89#4F1A89

#4F1A89 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.169 H 299.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4F1A89
RGBrgb(79, 26, 137)
HSLhsl(269, 68%, 32%)
HSVhsv(269, 81%, 54%)
CMYKcmyk(42.3%, 81%, 0%, 46.3%)
CIE-LABlab(24.34, 46.21, -51.33)
CIE-LCHlch(24.34, 69.06, 311.99°)
OKLaboklab(36.89% 0.0827 -0.1468)
OKLCHoklch(36.89% 0.169 299.4)
XYZxyz(8.1081, 4.2071, 24.0469)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A89 #54891A
analogous
#1A1C89 #4F1A89 #871A89
triadic
#4F1A89 #894F1A #1A894F
tetradic
#4F1A89 #891A1C #54891A #1A8987
square
#4F1A89 #891A1C #54891A #1A8987
split-complementary
#4F1A89 #89871A #1C891A
monochromatic
#140622 #311056 #4F1A89 #6D24BC #8B42DB

Accessibility & contrast

On white

11.40
#4F1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4F1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1A89
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A89#FFFFFF#000000##FFFFFF
##4F1A891.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#413952
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1a89;
/* rgb */ color: rgb(79, 26, 137);
/* oklch */ color: oklch(36.9% 0.169 299.4);
Tailwind
colors: {
  custom: {
    50: '#875eac',
    500: '#4f1a89',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a89;
$custom-light: #875eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a89",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 268.649,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36889,
    "c": 0.16851,
    "h": 299.4
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#4F1A89
secondary
#82BC43
accent
#EB3D98
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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