#4F1869#4F1869

#4F1869 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.137 H 312.4°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#4F1869
RGBrgb(79, 24, 105)
HSLhsl(281, 63%, 25%)
HSVhsv(281, 77%, 41%)
CMYKcmyk(24.8%, 77.1%, 0%, 58.8%)
CIE-LABlab(21.34, 39.24, -35.80)
CIE-LCHlch(21.34, 53.12, 317.62°)
OKLaboklab(33.93% 0.0923 -0.1012)
OKLCHoklch(33.93% 0.137 312.4)
XYZxyz(6.1004, 3.3356, 13.6843)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1869 #326918
analogous
#271869 #4F1869 #69185A
triadic
#4F1869 #694F18 #18694F
tetradic
#4F1869 #692718 #326918 #185A69
square
#4F1869 #692718 #326918 #185A69
split-complementary
#4F1869 #5A6918 #186927
monochromatic
#130619 #2A0D37 #4F1869 #74239B #9A2FCD

Accessibility & contrast

On white

12.60
#4F1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4F1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1869
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1869#FFFFFF#000000##FFFFFF
##4F18691.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1869;
/* rgb */ color: rgb(79, 24, 105);
/* oklch */ color: oklch(33.9% 0.137 312.4);
Tailwind
colors: {
  custom: {
    50: '#845b94',
    500: '#4f1869',
    950: '#000000',
  },
}
SCSS
$custom: #4f1869;
$custom-light: #845b94;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1869",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 280.741,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33935,
    "c": 0.13696,
    "h": 312.4
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#4F1869
secondary
#5D9F3E
accent
#E64277
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1869

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

Preview Lab → · Contrast checker → · Palette generator →

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