#4F1AA0#4F1AA0

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

Color values

HEX#4F1AA0
RGBrgb(79, 26, 160)
HSLhsl(264, 72%, 36%)
HSVhsv(264, 84%, 63%)
CMYKcmyk(50.6%, 83.8%, 0%, 37.3%)
CIE-LABlab(26.56, 52.10, -61.88)
CIE-LCHlch(26.56, 80.89, 310.10°)
OKLaboklab(39.1% 0.0748 -0.1777)
OKLCHoklch(39.1% 0.193 292.8)
XYZxyz(9.9372, 4.9388, 33.6806)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1AA0 #6BA01A
analogous
#1A28A0 #4F1AA0 #921AA0
triadic
#4F1AA0 #A04F1A #1AA04F
tetradic
#4F1AA0 #A01A28 #6BA01A #1AA092
square
#4F1AA0 #A01A28 #6BA01A #1AA092
split-complementary
#4F1AA0 #A0921A #28A01A
monochromatic
#1B0937 #35116B #4F1AA0 #6923D5 #8B52E3

Accessibility & contrast

On white

10.56
#4F1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1AA0
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1AA0#FFFFFF#000000##FFFFFF
##4F1AA01.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#34435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1aa0;
/* rgb */ color: rgb(79, 26, 160);
/* oklch */ color: oklch(39.1% 0.193 292.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fbd',
    500: '#4f1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #4f1aa0;
$custom-light: #8a5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1aa0",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 263.731,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.19286,
    "h": 292.8
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#4F1AA0
secondary
#97C550
accent
#EF39A7
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4F1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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