#4F1967#4F1967

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

Color values

HEX#4F1967
RGBrgb(79, 25, 103)
HSLhsl(282, 61%, 25%)
HSVhsv(282, 76%, 40%)
CMYKcmyk(23.3%, 75.7%, 0%, 59.6%)
CIE-LABlab(21.35, 38.33, -34.49)
CIE-LCHlch(21.35, 51.56, 318.02°)
OKLaboklab(33.89% 0.0915 -0.0973)
OKLCHoklch(33.89% 0.134 313.2)
XYZxyz(6.0198, 3.3370, 13.1563)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1967 #316719
analogous
#281967 #4F1967 #671958
triadic
#4F1967 #674F19 #19674F
tetradic
#4F1967 #672819 #316719 #195867
square
#4F1967 #672819 #316719 #195867
split-complementary
#4F1967 #586719 #196728
monochromatic
#130619 #290D36 #4F1967 #752598 #9B31C9

Accessibility & contrast

On white

12.59
#4F1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1967
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1967#FFFFFF#000000##FFFFFF
##4F19671.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#123465
Tritanopia (blue-blind)
#4C2A3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1967;
/* rgb */ color: rgb(79, 25, 103);
/* oklch */ color: oklch(33.9% 0.134 313.2);
Tailwind
colors: {
  custom: {
    50: '#835b93',
    500: '#4f1967',
    950: '#000000',
  },
}
SCSS
$custom: #4f1967;
$custom-light: #835b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1967",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 281.538,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33891,
    "c": 0.13359,
    "h": 313.2
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#4F1967
secondary
#5C9D3F
accent
#E44475
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1967

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

Preview Lab → · Contrast checker → · Palette generator →

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