#4F1864#4F1864

#4F1864 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.132 H 314.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#4F1864
RGBrgb(79, 24, 100)
HSLhsl(283, 61%, 24%)
HSVhsv(283, 76%, 39%)
CMYKcmyk(21%, 76%, 0%, 60.8%)
CIE-LABlab(20.96, 38.09, -33.13)
CIE-LCHlch(20.96, 50.49, 318.98°)
OKLaboklab(33.55% 0.093 -0.0934)
OKLCHoklch(33.55% 0.132 314.9)
XYZxyz(5.8510, 3.2358, 12.3705)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1864 #2D6418
analogous
#291864 #4F1864 #641853
triadic
#4F1864 #644F18 #18644F
tetradic
#4F1864 #642918 #2D6418 #185364
square
#4F1864 #642918 #2D6418 #185364
split-complementary
#4F1864 #536418 #186429
monochromatic
#130619 #280C33 #4F1864 #762495 #9D30C7

Accessibility & contrast

On white

12.75
#4F1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4F1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1864
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1864#FFFFFF#000000##FFFFFF
##4F18641.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#153462
Tritanopia (blue-blind)
#4D283C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1864;
/* rgb */ color: rgb(79, 24, 100);
/* oklch */ color: oklch(33.5% 0.132 314.9);
Tailwind
colors: {
  custom: {
    50: '#835b91',
    500: '#4f1864',
    950: '#000000',
  },
}
SCSS
$custom: #4f1864;
$custom-light: #835b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1864",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 283.421,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33548,
    "c": 0.13177,
    "h": 314.9
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#4F1864
secondary
#579A3E
accent
#E44370
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4F1864

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

Preview Lab → · Contrast checker → · Palette generator →

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