#4F1F83#4F1F83

#4F1F83 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.157 H 300.7°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#4F1F83
RGBrgb(79, 31, 131)
HSLhsl(269, 62%, 32%)
HSVhsv(269, 76%, 51%)
CMYKcmyk(39.7%, 76.3%, 0%, 48.6%)
CIE-LABlab(24.58, 42.47, -47.19)
CIE-LCHlch(24.58, 63.48, 311.99°)
OKLaboklab(36.89% 0.0798 -0.1347)
OKLCHoklch(36.89% 0.157 300.7)
XYZxyz(7.8102, 4.2809, 21.8831)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1F83 #53831F
analogous
#1F2183 #4F1F83 #811F83
triadic
#4F1F83 #834F1F #1F834F
tetradic
#4F1F83 #831F21 #53831F #1F8381
square
#4F1F83 #831F21 #53831F #1F8381
split-complementary
#4F1F83 #83811F #21831F
monochromatic
#130820 #311352 #4F1F83 #6D2BB4 #8B49D4

Accessibility & contrast

On white

11.31
#4F1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4F1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1F83
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1F83#FFFFFF#000000##FFFFFF
##4F1F831.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#43384F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1f83;
/* rgb */ color: rgb(79, 31, 131);
/* oklch */ color: oklch(36.9% 0.157 300.7);
Tailwind
colors: {
  custom: {
    50: '#8660a8',
    500: '#4f1f83',
    950: '#000000',
  },
}
SCSS
$custom: #4f1f83;
$custom-light: #8660a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1f83",
  "rgb": {
    "r": 79,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 268.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36889,
    "c": 0.15659,
    "h": 300.7
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#4F1F83
secondary
#81B648
accent
#E54397
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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