#4F1C85#4F1C85

#4F1C85 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.162 H 300.4°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4F1C85
RGBrgb(79, 28, 133)
HSLhsl(269, 65%, 32%)
HSVhsv(269, 79%, 52%)
CMYKcmyk(40.6%, 78.9%, 0%, 47.8%)
CIE-LABlab(24.28, 44.34, -48.94)
CIE-LCHlch(24.28, 66.04, 312.18°)
OKLaboklab(36.73% 0.0821 -0.1398)
OKLCHoklch(36.73% 0.162 300.4)
XYZxyz(7.8723, 4.1862, 22.5790)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1C85 #52851C
analogous
#1C1E85 #4F1C85 #841C85
triadic
#4F1C85 #854F1C #1C854F
tetradic
#4F1C85 #851C1E #52851C #1C8584
square
#4F1C85 #851C1E #52851C #1C8584
split-complementary
#4F1C85 #85841C #1E851C
monochromatic
#130720 #311152 #4F1C85 #6D27B8 #8C44D8

Accessibility & contrast

On white

11.43
#4F1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1C85
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1C85#FFFFFF#000000##FFFFFF
##4F1C851.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#433850
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1c85;
/* rgb */ color: rgb(79, 28, 133);
/* oklch */ color: oklch(36.7% 0.162 300.4);
Tailwind
colors: {
  custom: {
    50: '#865ea9',
    500: '#4f1c85',
    950: '#000000',
  },
}
SCSS
$custom: #4f1c85;
$custom-light: #865ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1c85",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 269.143,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.16215,
    "h": 300.4
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#4F1C85
secondary
#80B845
accent
#E84096
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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