#4F1B85#4F1B85

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

Color values

HEX#4F1B85
RGBrgb(79, 27, 133)
HSLhsl(269, 66%, 31%)
HSVhsv(269, 80%, 52%)
CMYKcmyk(40.6%, 79.7%, 0%, 47.8%)
CIE-LABlab(24.13, 44.77, -49.18)
CIE-LCHlch(24.13, 66.51, 312.31°)
OKLaboklab(36.63% 0.083 -0.1405)
OKLCHoklch(36.63% 0.163 300.6)
XYZxyz(7.8490, 4.1395, 22.5712)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B85 #51851B
analogous
#1B1C85 #4F1B85 #841B85
triadic
#4F1B85 #854F1B #1B854F
tetradic
#4F1B85 #851B1C #51851B #1B8584
square
#4F1B85 #851B1C #51851B #1B8584
split-complementary
#4F1B85 #85841B #1C851B
monochromatic
#13061F #311152 #4F1B85 #6D25B8 #8C42D9

Accessibility & contrast

On white

11.49
#4F1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4F1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1B85
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B85#FFFFFF#000000##FFFFFF
##4F1B851.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#433750
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1b85;
/* rgb */ color: rgb(79, 27, 133);
/* oklch */ color: oklch(36.6% 0.163 300.6);
Tailwind
colors: {
  custom: {
    50: '#865ea9',
    500: '#4f1b85',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b85;
$custom-light: #865ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b85",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 269.434,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36626,
    "c": 0.16322,
    "h": 300.6
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#4F1B85
secondary
#7FB844
accent
#E93F96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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