#4F1A77#4F1A77

#4F1A77 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.149 H 305.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#4F1A77
RGBrgb(79, 26, 119)
HSLhsl(274, 64%, 28%)
HSVhsv(274, 78%, 47%)
CMYKcmyk(33.6%, 78.2%, 0%, 53.3%)
CIE-LABlab(22.77, 41.71, -42.53)
CIE-LCHlch(22.77, 59.56, 314.44°)
OKLaboklab(35.3% 0.0875 -0.121)
OKLCHoklch(35.3% 0.149 305.9)
XYZxyz(6.9229, 3.7330, 17.8050)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A77 #42771A
analogous
#211A77 #4F1A77 #771A70
triadic
#4F1A77 #774F1A #1A774F
tetradic
#4F1A77 #77211A #42771A #1A7077
square
#4F1A77 #77211A #42771A #1A7077
split-complementary
#4F1A77 #70771A #1A7721
monochromatic
#110519 #2E0F45 #4F1A77 #7025A9 #9138D3

Accessibility & contrast

On white

12.02
#4F1A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4F1A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1A77
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A77#FFFFFF#000000##FFFFFF
##4F1A771.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#483147
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4f1a77;
/* rgb */ color: rgb(79, 26, 119);
/* oklch */ color: oklch(35.3% 0.149 305.9);
Tailwind
colors: {
  custom: {
    50: '#855d9f',
    500: '#4f1a77',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a77;
$custom-light: #855d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a77",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 274.194,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35297,
    "c": 0.14931,
    "h": 305.9
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#4F1A77
secondary
#6FAC41
accent
#E74188
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1A77

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

Preview Lab → · Contrast checker → · Palette generator →

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