#4F19B4#4F19B4

#4F19B4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.1% C 0.214 H 288.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4F19B4
RGBrgb(79, 25, 180)
HSLhsl(261, 76%, 40%)
HSVhsv(261, 86%, 71%)
CMYKcmyk(56.1%, 86.1%, 0%, 29.4%)
CIE-LABlab(28.52, 57.60, -70.70)
CIE-LCHlch(28.52, 91.20, 309.17°)
OKLaboklab(41.06% 0.0677 -0.2035)
OKLCHoklch(41.06% 0.214 288.4)
XYZxyz(11.8079, 5.6522, 43.6400)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F19B4 #7EB419
analogous
#1931B4 #4F19B4 #9C19B4
triadic
#4F19B4 #B44F19 #19B44F
tetradic
#4F19B4 #B41931 #7EB419 #19B49C
square
#4F19B4 #B41931 #7EB419 #19B49C
split-complementary
#4F19B4 #B49C19 #31B419
monochromatic
#200A49 #37127E #4F19B4 #6929E1 #8F5FE9

Accessibility & contrast

On white

9.86
#4F19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4F19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F19B4
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F19B4#FFFFFF#000000##FFFFFF
##4F19B41.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#224B6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f19b4;
/* rgb */ color: rgb(79, 25, 180);
/* oklch */ color: oklch(41.1% 0.214 288.4);
Tailwind
colors: {
  custom: {
    50: '#8d60cc',
    500: '#4f19b4',
    950: '#000000',
  },
}
SCSS
$custom: #4f19b4;
$custom-light: #8d60cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f19b4",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 260.903,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.21448,
    "h": 288.4
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#4F19B4
secondary
#A6CD5C
accent
#F236B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4F19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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