#4F1966#4F1966

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

Color values

HEX#4F1966
RGBrgb(79, 25, 102)
HSLhsl(282, 61%, 25%)
HSVhsv(282, 75%, 40%)
CMYKcmyk(22.5%, 75.5%, 0%, 60%)
CIE-LABlab(21.27, 38.10, -33.95)
CIE-LCHlch(21.27, 51.03, 318.30°)
OKLaboklab(33.81% 0.0916 -0.0958)
OKLCHoklch(33.81% 0.133 313.7)
XYZxyz(5.9699, 3.3170, 12.8936)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1966 #306619
analogous
#291966 #4F1966 #661957
triadic
#4F1966 #664F19 #19664F
tetradic
#4F1966 #662919 #306619 #195766
square
#4F1966 #662919 #306619 #195766
split-complementary
#4F1966 #576619 #196629
monochromatic
#130619 #290D35 #4F1966 #752597 #9B31C8

Accessibility & contrast

On white

12.62
#4F1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1966
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1966#FFFFFF#000000##FFFFFF
##4F19661.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#143464
Tritanopia (blue-blind)
#4D293E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1966;
/* rgb */ color: rgb(79, 25, 102);
/* oklch */ color: oklch(33.8% 0.133 313.7);
Tailwind
colors: {
  custom: {
    50: '#835b92',
    500: '#4f1966',
    950: '#000000',
  },
}
SCSS
$custom: #4f1966;
$custom-light: #835b92;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1966",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 282.078,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.13254,
    "h": 313.7
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#4F1966
secondary
#5B9C3F
accent
#E44474
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1966

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

Preview Lab → · Contrast checker → · Palette generator →

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