#4F1F85#4F1F85

#4F1F85 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.159 H 300.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#4F1F85
RGBrgb(79, 31, 133)
HSLhsl(268, 62%, 32%)
HSVhsv(268, 77%, 52%)
CMYKcmyk(40.6%, 76.7%, 0%, 47.8%)
CIE-LABlab(24.75, 42.99, -48.16)
CIE-LCHlch(24.75, 64.56, 311.75°)
OKLaboklab(37.06% 0.0794 -0.1376)
OKLCHoklch(37.06% 0.159 300)
XYZxyz(7.9470, 4.3356, 22.6039)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1F85 #55851F
analogous
#1F2285 #4F1F85 #821F85
triadic
#4F1F85 #854F1F #1F854F
tetradic
#4F1F85 #851F22 #55851F #1F8582
square
#4F1F85 #851F22 #55851F #1F8582
split-complementary
#4F1F85 #85821F #22851F
monochromatic
#140822 #321353 #4F1F85 #6C2BB7 #8B4AD5

Accessibility & contrast

On white

11.25
#4F1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4F1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1F85
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1F85#FFFFFF#000000##FFFFFF
##4F1F851.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#423950
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f1f85;
/* rgb */ color: rgb(79, 31, 133);
/* oklch */ color: oklch(37.1% 0.159 300.0);
Tailwind
colors: {
  custom: {
    50: '#8660a9',
    500: '#4f1f85',
    950: '#000000',
  },
}
SCSS
$custom: #4f1f85;
$custom-light: #8660a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1f85",
  "rgb": {
    "r": 79,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 268.235,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37064,
    "c": 0.15881,
    "h": 300
  },
  "luminance": 0.04336
}

Semantic roles & 50–950 ramp

primary
#4F1F85
secondary
#83B749
accent
#E54399
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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