#4F1B83#4F1B83

#4F1B83 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.161 H 301.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#4F1B83
RGBrgb(79, 27, 131)
HSLhsl(270, 66%, 31%)
HSVhsv(270, 79%, 51%)
CMYKcmyk(39.7%, 79.4%, 0%, 48.6%)
CIE-LABlab(23.95, 44.26, -48.21)
CIE-LCHlch(23.95, 65.45, 312.55°)
OKLaboklab(36.45% 0.0836 -0.1377)
OKLCHoklch(36.45% 0.161 301.3)
XYZxyz(7.7121, 4.0848, 21.8505)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B83 #4F831B
analogous
#1B1B83 #4F1B83 #831B83
triadic
#4F1B83 #834F1B #1B834F
tetradic
#4F1B83 #831B1B #4F831B #1B8383
square
#4F1B83 #831B1B #4F831B #1B8383
split-complementary
#4F1B83 #83831B #1B831B
monochromatic
#12061E #301150 #4F1B83 #6E25B6 #8C41D8

Accessibility & contrast

On white

11.56
#4F1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1B83
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B83#FFFFFF#000000##FFFFFF
##4F1B831.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#43374E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1b83;
/* rgb */ color: rgb(79, 27, 131);
/* oklch */ color: oklch(36.4% 0.161 301.3);
Tailwind
colors: {
  custom: {
    50: '#865ea8',
    500: '#4f1b83',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b83;
$custom-light: #865ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b83",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 270,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36447,
    "c": 0.16106,
    "h": 301.3
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#4F1B83
secondary
#7DB643
accent
#E93F94
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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