#4F1D94#4F1D94

#4F1D94 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.177 H 295.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4F1D94
RGBrgb(79, 29, 148)
HSLhsl(265, 67%, 35%)
HSVhsv(265, 80%, 58%)
CMYKcmyk(46.6%, 80.4%, 0%, 42%)
CIE-LABlab(25.80, 47.79, -55.78)
CIE-LCHlch(25.80, 73.45, 310.59°)
OKLaboklab(38.22% 0.0769 -0.1599)
OKLCHoklch(38.22% 0.177 295.7)
XYZxyz(9.0077, 4.6789, 28.4398)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1D94 #62941D
analogous
#1D2794 #4F1D94 #8B1D94
triadic
#4F1D94 #944F1D #1D944F
tetradic
#4F1D94 #941D27 #62941D #1D948B
square
#4F1D94 #941D27 #62941D #1D948B
split-complementary
#4F1D94 #948B1D #27941D
monochromatic
#18092E #341361 #4F1D94 #6A27C7 #8A4FDC

Accessibility & contrast

On white

10.85
#4F1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4F1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1D94
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1D94#FFFFFF#000000##FFFFFF
##4F1D941.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#3B3F59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f1d94;
/* rgb */ color: rgb(79, 29, 148);
/* oklch */ color: oklch(38.2% 0.177 295.7);
Tailwind
colors: {
  custom: {
    50: '#8860b4',
    500: '#4f1d94',
    950: '#000000',
  },
}
SCSS
$custom: #4f1d94;
$custom-light: #8860b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1d94",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 265.21,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38216,
    "c": 0.17741,
    "h": 295.7
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#4F1D94
secondary
#8FBF4E
accent
#EA3EA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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