#4F1C83#4F1C83

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

Color values

HEX#4F1C83
RGBrgb(79, 28, 131)
HSLhsl(270, 65%, 31%)
HSVhsv(270, 79%, 51%)
CMYKcmyk(39.7%, 78.6%, 0%, 48.6%)
CIE-LABlab(24.10, 43.83, -47.97)
CIE-LCHlch(24.10, 64.98, 312.42°)
OKLaboklab(36.55% 0.0827 -0.137)
OKLCHoklch(36.55% 0.16 301.1)
XYZxyz(7.7354, 4.1314, 21.8582)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1C83 #50831C
analogous
#1C1C83 #4F1C83 #821C83
triadic
#4F1C83 #834F1C #1C834F
tetradic
#4F1C83 #831C1C #50831C #1C8382
square
#4F1C83 #831C1C #50831C #1C8382
split-complementary
#4F1C83 #83821C #1C831C
monochromatic
#12061E #311151 #4F1C83 #6D27B5 #8C43D7

Accessibility & contrast

On white

11.50
#4F1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1C83
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1C83#FFFFFF#000000##FFFFFF
##4F1C831.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1c83;
/* rgb */ color: rgb(79, 28, 131);
/* oklch */ color: oklch(36.6% 0.160 301.1);
Tailwind
colors: {
  custom: {
    50: '#865ea8',
    500: '#4f1c83',
    950: '#000000',
  },
}
SCSS
$custom: #4f1c83;
$custom-light: #865ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1c83",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 269.709,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36553,
    "c": 0.15998,
    "h": 301.1
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#4F1C83
secondary
#7EB645
accent
#E84095
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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