#4F1B9F#4F1B9F

#4F1B9F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.1% C 0.191 H 293.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4F1B9F
RGBrgb(79, 27, 159)
HSLhsl(264, 71%, 36%)
HSVhsv(264, 83%, 62%)
CMYKcmyk(50.3%, 83%, 0%, 37.6%)
CIE-LABlab(26.59, 51.46, -61.22)
CIE-LCHlch(26.59, 79.98, 310.05°)
OKLaboklab(39.09% 0.0746 -0.1758)
OKLCHoklch(39.09% 0.191 293)
XYZxyz(9.8726, 4.9490, 33.2292)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B9F #6B9F1B
analogous
#1B299F #4F1B9F #911B9F
triadic
#4F1B9F #9F4F1B #1B9F4F
tetradic
#4F1B9F #9F1B29 #6B9F1B #1B9F91
square
#4F1B9F #9F1B29 #6B9F1B #1B9F91
split-complementary
#4F1B9F #9F911B #299F1B
monochromatic
#1B0936 #35126B #4F1B9F #6924D3 #8B53E2

Accessibility & contrast

On white

10.55
#4F1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4F1B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1B9F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B9F#FFFFFF#000000##FFFFFF
##4F1B9F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#35425F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1b9f;
/* rgb */ color: rgb(79, 27, 159);
/* oklch */ color: oklch(39.1% 0.191 293.0);
Tailwind
colors: {
  custom: {
    50: '#895fbd',
    500: '#4f1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b9f;
$custom-light: #895fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b9f",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 263.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.19099,
    "h": 293
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#4F1B9F
secondary
#97C551
accent
#EE3AA7
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4F1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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