#4F1769#4F1769

#4F1769 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.138 H 312.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#4F1769
RGBrgb(79, 23, 105)
HSLhsl(281, 64%, 25%)
HSVhsv(281, 78%, 41%)
CMYKcmyk(24.8%, 78.1%, 0%, 58.8%)
CIE-LABlab(21.19, 39.67, -36.04)
CIE-LCHlch(21.19, 53.60, 317.74°)
OKLaboklab(33.83% 0.0934 -0.1019)
OKLCHoklch(33.83% 0.138 312.5)
XYZxyz(6.0802, 3.2952, 13.6776)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1769 #316917
analogous
#261769 #4F1769 #69175A
triadic
#4F1769 #694F17 #17694F
tetradic
#4F1769 #692617 #316917 #175A69
square
#4F1769 #692617 #316917 #175A69
split-complementary
#4F1769 #5A6917 #176926
monochromatic
#130519 #290C37 #4F1769 #75229B #9B2DCD

Accessibility & contrast

On white

12.66
#4F1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4F1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1769
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1769#FFFFFF#000000##FFFFFF
##4F17691.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#0D3467
Tritanopia (blue-blind)
#4C2A3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1769;
/* rgb */ color: rgb(79, 23, 105);
/* oklch */ color: oklch(33.8% 0.138 312.5);
Tailwind
colors: {
  custom: {
    50: '#845a94',
    500: '#4f1769',
    950: '#000000',
  },
}
SCSS
$custom: #4f1769;
$custom-light: #845a94;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1769",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 280.976,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33828,
    "c": 0.13819,
    "h": 312.5
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#4F1769
secondary
#5C9F3D
accent
#E74175
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1769

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

Preview Lab → · Contrast checker → · Palette generator →

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