#4F1F95#4F1F95

#4F1F95 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.177 H 295.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#4F1F95
RGBrgb(79, 31, 149)
HSLhsl(264, 66%, 35%)
HSVhsv(264, 79%, 58%)
CMYKcmyk(47%, 79.2%, 0%, 41.6%)
CIE-LABlab(26.19, 47.19, -55.75)
CIE-LCHlch(26.19, 73.04, 310.25°)
OKLaboklab(38.52% 0.075 -0.1598)
OKLCHoklch(38.52% 0.177 295.1)
XYZxyz(9.1378, 4.8119, 28.8753)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1F95 #65951F
analogous
#1F2A95 #4F1F95 #8A1F95
triadic
#4F1F95 #954F1F #1F954F
tetradic
#4F1F95 #951F2A #65951F #1F958A
square
#4F1F95 #951F2A #65951F #1F958A
split-complementary
#4F1F95 #958A1F #2A951F
monochromatic
#190A30 #341462 #4F1F95 #6A2AC8 #8B53DB

Accessibility & contrast

On white

10.70
#4F1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4F1F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1F95
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1F95#FFFFFF#000000##FFFFFF
##4F1F951.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#3B405A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f1f95;
/* rgb */ color: rgb(79, 31, 149);
/* oklch */ color: oklch(38.5% 0.177 295.1);
Tailwind
colors: {
  custom: {
    50: '#8861b5',
    500: '#4f1f95',
    950: '#000000',
  },
}
SCSS
$custom: #4f1f95;
$custom-light: #8861b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1f95",
  "rgb": {
    "r": 79,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 264.407,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.17654,
    "h": 295.1
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#4F1F95
secondary
#92BF51
accent
#E93FA4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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