#4F1968#4F1968

#4F1968 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.135 H 312.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4F1968
RGBrgb(79, 25, 104)
HSLhsl(281, 61%, 25%)
HSVhsv(281, 76%, 41%)
CMYKcmyk(24%, 76%, 0%, 59.2%)
CIE-LABlab(21.42, 38.56, -35.02)
CIE-LCHlch(21.42, 52.09, 317.76°)
OKLaboklab(33.97% 0.0914 -0.0989)
OKLCHoklch(33.97% 0.135 312.7)
XYZxyz(6.0703, 3.3572, 13.4222)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1968 #326819
analogous
#281968 #4F1968 #681959
triadic
#4F1968 #684F19 #19684F
tetradic
#4F1968 #682819 #326819 #195968
square
#4F1968 #682819 #326819 #195968
split-complementary
#4F1968 #596819 #196828
monochromatic
#130619 #2A0D37 #4F1968 #742599 #9A31CB

Accessibility & contrast

On white

12.56
#4F1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1968
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1968#FFFFFF#000000##FFFFFF
##4F19681.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#113566
Tritanopia (blue-blind)
#4C2A3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1968;
/* rgb */ color: rgb(79, 25, 104);
/* oklch */ color: oklch(34.0% 0.135 312.7);
Tailwind
colors: {
  custom: {
    50: '#845b94',
    500: '#4f1968',
    950: '#000000',
  },
}
SCSS
$custom: #4f1968;
$custom-light: #845b94;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1968",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 281.013,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33968,
    "c": 0.13463,
    "h": 312.7
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#4F1968
secondary
#5D9E3F
accent
#E44376
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1968

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

Preview Lab → · Contrast checker → · Palette generator →

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