#4F1A85#4F1A85

#4F1A85 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.164 H 300.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#4F1A85
RGBrgb(79, 26, 133)
HSLhsl(270, 67%, 31%)
HSVhsv(270, 80%, 52%)
CMYKcmyk(40.6%, 80.5%, 0%, 47.8%)
CIE-LABlab(23.98, 45.19, -49.42)
CIE-LCHlch(23.98, 66.97, 312.44°)
OKLaboklab(36.52% 0.0839 -0.1412)
OKLCHoklch(36.52% 0.164 300.7)
XYZxyz(7.8264, 4.0944, 22.5637)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A85 #50851A
analogous
#1A1A85 #4F1A85 #841A85
triadic
#4F1A85 #854F1A #1A854F
tetradic
#4F1A85 #851A1A #50851A #1A8584
square
#4F1A85 #851A1A #50851A #1A8584
split-complementary
#4F1A85 #85841A #1A851A
monochromatic
#12061F #311052 #4F1A85 #6D24B8 #8C40DA

Accessibility & contrast

On white

11.54
#4F1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1A85
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A85#FFFFFF#000000##FFFFFF
##4F1A851.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#43374F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1a85;
/* rgb */ color: rgb(79, 26, 133);
/* oklch */ color: oklch(36.5% 0.164 300.7);
Tailwind
colors: {
  custom: {
    50: '#865da9',
    500: '#4f1a85',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a85;
$custom-light: #865da9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a85",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 269.72,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36524,
    "c": 0.16426,
    "h": 300.7
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#4F1A85
secondary
#7EB842
accent
#EA3E95
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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