#4F1D9F#4F1D9F

#4F1D9F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.189 H 292.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4F1D9F
RGBrgb(79, 29, 159)
HSLhsl(263, 69%, 37%)
HSVhsv(263, 82%, 62%)
CMYKcmyk(50.3%, 81.8%, 0%, 37.6%)
CIE-LABlab(26.86, 50.67, -60.78)
CIE-LCHlch(26.86, 79.13, 309.82°)
OKLaboklab(39.27% 0.0732 -0.1745)
OKLCHoklch(39.27% 0.189 292.8)
XYZxyz(9.9201, 5.0438, 33.2450)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1D9F #6D9F1D
analogous
#1D2C9F #4F1D9F #901D9F
triadic
#4F1D9F #9F4F1D #1D9F4F
tetradic
#4F1D9F #9F1D2C #6D9F1D #1D9F90
square
#4F1D9F #9F1D2C #6D9F1D #1D9F90
split-complementary
#4F1D9F #9F901D #2C9F1D
monochromatic
#1C0A37 #35146B #4F1D9F #6926D3 #8B56E0

Accessibility & contrast

On white

10.45
#4F1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4F1D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1D9F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1D9F#FFFFFF#000000##FFFFFF
##4F1D9F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#35435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1d9f;
/* rgb */ color: rgb(79, 29, 159);
/* oklch */ color: oklch(39.3% 0.189 292.8);
Tailwind
colors: {
  custom: {
    50: '#8960bd',
    500: '#4f1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #4f1d9f;
$custom-light: #8960bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1d9f",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 263.077,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.18929,
    "h": 292.8
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#4F1D9F
secondary
#99C454
accent
#EC3CA8
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4F1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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