#4F1D95#4F1D95

#4F1D95 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.178 H 295.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4F1D95
RGBrgb(79, 29, 149)
HSLhsl(265, 67%, 35%)
HSVhsv(265, 81%, 58%)
CMYKcmyk(47%, 80.5%, 0%, 41.6%)
CIE-LABlab(25.89, 48.05, -56.24)
CIE-LCHlch(25.89, 73.97, 310.51°)
OKLaboklab(38.31% 0.0765 -0.1613)
OKLCHoklch(38.31% 0.179 295.4)
XYZxyz(9.0872, 4.7107, 28.8584)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1D95 #63951D
analogous
#1D2795 #4F1D95 #8B1D95
triadic
#4F1D95 #954F1D #1D954F
tetradic
#4F1D95 #951D27 #63951D #1D958B
square
#4F1D95 #951D27 #63951D #1D958B
split-complementary
#4F1D95 #958B1D #27951D
monochromatic
#19092F #341362 #4F1D95 #6A27C8 #8A50DD

Accessibility & contrast

On white

10.81
#4F1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1D95
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1D95#FFFFFF#000000##FFFFFF
##4F1D951.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1d95;
/* rgb */ color: rgb(79, 29, 149);
/* oklch */ color: oklch(38.3% 0.178 295.4);
Tailwind
colors: {
  custom: {
    50: '#8860b5',
    500: '#4f1d95',
    950: '#000000',
  },
}
SCSS
$custom: #4f1d95;
$custom-light: #8860b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1d95",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 265,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3831,
    "c": 0.1785,
    "h": 295.4
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#4F1D95
secondary
#90C04E
accent
#EA3DA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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