#4F1BA0#4F1BA0

#4F1BA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.192 H 292.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#4F1BA0
RGBrgb(79, 27, 160)
HSLhsl(263, 71%, 37%)
HSVhsv(263, 83%, 63%)
CMYKcmyk(50.6%, 83.1%, 0%, 37.3%)
CIE-LABlab(26.69, 51.72, -61.67)
CIE-LCHlch(26.69, 80.49, 309.99°)
OKLaboklab(39.18% 0.0742 -0.1771)
OKLCHoklch(39.18% 0.192 292.7)
XYZxyz(9.9598, 4.9838, 33.6881)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1BA0 #6CA01B
analogous
#1B29A0 #4F1BA0 #921BA0
triadic
#4F1BA0 #A04F1B #1BA04F
tetradic
#4F1BA0 #A01B29 #6CA01B #1BA092
square
#4F1BA0 #A01B29 #6CA01B #1BA092
split-complementary
#4F1BA0 #A0921B #29A01B
monochromatic
#1B0937 #35126C #4F1BA0 #6924D4 #8B53E2

Accessibility & contrast

On white

10.52
#4F1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1BA0
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1BA0#FFFFFF#000000##FFFFFF
##4F1BA01.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1ba0;
/* rgb */ color: rgb(79, 27, 160);
/* oklch */ color: oklch(39.2% 0.192 292.7);
Tailwind
colors: {
  custom: {
    50: '#8a60bd',
    500: '#4f1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4f1ba0;
$custom-light: #8a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1ba0",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 263.459,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.19205,
    "h": 292.7
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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