#4F1F94#4F1F94

#4F1F94 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.175 H 295.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#4F1F94
RGBrgb(79, 31, 148)
HSLhsl(265, 65%, 35%)
HSVhsv(265, 79%, 58%)
CMYKcmyk(46.6%, 79.1%, 0%, 42%)
CIE-LABlab(26.10, 46.93, -55.29)
CIE-LCHlch(26.10, 72.52, 310.32°)
OKLaboklab(38.42% 0.0753 -0.1585)
OKLCHoklch(38.42% 0.175 295.4)
XYZxyz(9.0583, 4.7801, 28.4566)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1F94 #64941F
analogous
#1F2A94 #4F1F94 #891F94
triadic
#4F1F94 #944F1F #1F944F
tetradic
#4F1F94 #941F2A #64941F #1F9489
square
#4F1F94 #941F2A #64941F #1F9489
split-complementary
#4F1F94 #94891F #2A941F
monochromatic
#190A2F #341461 #4F1F94 #6A2AC7 #8A53DB

Accessibility & contrast

On white

10.74
#4F1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1F94
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1F94#FFFFFF#000000##FFFFFF
##4F1F941.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#3B3F59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f1f94;
/* rgb */ color: rgb(79, 31, 148);
/* oklch */ color: oklch(38.4% 0.175 295.4);
Tailwind
colors: {
  custom: {
    50: '#8861b4',
    500: '#4f1f94',
    950: '#000000',
  },
}
SCSS
$custom: #4f1f94;
$custom-light: #8861b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1f94",
  "rgb": {
    "r": 79,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 264.615,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38424,
    "c": 0.17544,
    "h": 295.4
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#4F1F94
secondary
#91BE51
accent
#E83FA3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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