#4F1983#4F1983

#4F1983 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.163 H 301.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4F1983
RGBrgb(79, 25, 131)
HSLhsl(271, 68%, 31%)
HSVhsv(271, 81%, 51%)
CMYKcmyk(39.7%, 80.9%, 0%, 48.6%)
CIE-LABlab(23.66, 45.10, -48.69)
CIE-LCHlch(23.66, 66.37, 312.81°)
OKLaboklab(36.24% 0.0853 -0.1391)
OKLCHoklch(36.24% 0.163 301.5)
XYZxyz(7.6678, 3.9962, 21.8357)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1983 #4D8319
analogous
#1A1983 #4F1983 #831982
triadic
#4F1983 #834F19 #19834F
tetradic
#4F1983 #831A19 #4D8319 #198283
square
#4F1983 #831A19 #4D8319 #198283
split-complementary
#4F1983 #828319 #19831A
monochromatic
#11051C #300F50 #4F1983 #6E23B6 #8D3DDA

Accessibility & contrast

On white

11.67
#4F1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4F1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1983
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1983#FFFFFF#000000##FFFFFF
##4F19831.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1983;
/* rgb */ color: rgb(79, 25, 131);
/* oklch */ color: oklch(36.2% 0.163 301.5);
Tailwind
colors: {
  custom: {
    50: '#865da8',
    500: '#4f1983',
    950: '#000000',
  },
}
SCSS
$custom: #4f1983;
$custom-light: #865da8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1983",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 270.566,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36244,
    "c": 0.16315,
    "h": 301.5
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#4F1983
secondary
#7BB741
accent
#EB3D92
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4F1983

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

Preview Lab → · Contrast checker → · Palette generator →

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