#4F1BA1#4F1BA1

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

Color values

HEX#4F1BA1
RGBrgb(79, 27, 161)
HSLhsl(263, 71%, 37%)
HSVhsv(263, 83%, 63%)
CMYKcmyk(50.9%, 83.2%, 0%, 36.9%)
CIE-LABlab(26.79, 51.98, -62.11)
CIE-LCHlch(26.79, 80.99, 309.93°)
OKLaboklab(39.28% 0.0738 -0.1784)
OKLCHoklch(39.28% 0.193 292.5)
XYZxyz(10.0476, 5.0190, 34.1507)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1BA1 #6DA11B
analogous
#1B2AA1 #4F1BA1 #921BA1
triadic
#4F1BA1 #A14F1B #1BA14F
tetradic
#4F1BA1 #A11B2A #6DA11B #1BA192
square
#4F1BA1 #A11B2A #6DA11B #1BA192
split-complementary
#4F1BA1 #A1921B #2AA11B
monochromatic
#1C0938 #35126D #4F1BA1 #6924D5 #8B54E2

Accessibility & contrast

On white

10.48
#4F1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4F1BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1BA1
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1BA1#FFFFFF#000000##FFFFFF
##4F1BA11.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#334360
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1ba1;
/* rgb */ color: rgb(79, 27, 161);
/* oklch */ color: oklch(39.3% 0.193 292.5);
Tailwind
colors: {
  custom: {
    50: '#8a60be',
    500: '#4f1ba1',
    950: '#000000',
  },
}
SCSS
$custom: #4f1ba1;
$custom-light: #8a60be;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1ba1",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 263.284,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39284,
    "c": 0.19311,
    "h": 292.5
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#4F1BA1
secondary
#99C552
accent
#EE3AA8
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4F1BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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