#4F1D83#4F1D83

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

Color values

HEX#4F1D83
RGBrgb(79, 29, 131)
HSLhsl(269, 64%, 31%)
HSVhsv(269, 78%, 51%)
CMYKcmyk(39.7%, 77.9%, 0%, 48.6%)
CIE-LABlab(24.26, 43.38, -47.71)
CIE-LCHlch(24.26, 64.49, 312.28°)
OKLaboklab(36.66% 0.0817 -0.1362)
OKLCHoklch(36.66% 0.159 301)
XYZxyz(7.7595, 4.1796, 21.8663)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1D83 #51831D
analogous
#1D1E83 #4F1D83 #821D83
triadic
#4F1D83 #834F1D #1D834F
tetradic
#4F1D83 #831D1E #51831D #1D8382
square
#4F1D83 #831D1E #51831D #1D8382
split-complementary
#4F1D83 #83821D #1E831D
monochromatic
#13071F #311251 #4F1D83 #6D28B5 #8C45D6

Accessibility & contrast

On white

11.44
#4F1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1D83
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1D83#FFFFFF#000000##FFFFFF
##4F1D831.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#43374F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1d83;
/* rgb */ color: rgb(79, 29, 131);
/* oklch */ color: oklch(36.7% 0.159 301.0);
Tailwind
colors: {
  custom: {
    50: '#865fa8',
    500: '#4f1d83',
    950: '#000000',
  },
}
SCSS
$custom: #4f1d83;
$custom-light: #865fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1d83",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 269.412,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36662,
    "c": 0.15888,
    "h": 301
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#4F1D83
secondary
#7FB646
accent
#E74196
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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