#4F1064#4F1064

#4F1064 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.141 H 315.7°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4F1064
RGBrgb(79, 16, 100)
HSLhsl(285, 72%, 23%)
HSVhsv(285, 84%, 39%)
CMYKcmyk(21%, 84%, 0%, 60.8%)
CIE-LABlab(19.86, 41.27, -34.92)
CIE-LCHlch(19.86, 54.06, 319.76°)
OKLaboklab(32.76% 0.101 -0.0986)
OKLCHoklch(32.76% 0.141 315.7)
XYZxyz(5.7096, 2.9532, 12.3234)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1064 #256410
analogous
#251064 #4F1064 #64104F
triadic
#4F1064 #644F10 #10644F
tetradic
#4F1064 #642510 #256410 #104F64
square
#4F1064 #642510 #256410 #104F64
split-complementary
#4F1064 #4F6410 #106425
monochromatic
#15041A #25082F #4F1064 #791899 #A221CE

Accessibility & contrast

On white

13.20
#4F1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1064
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1064#FFFFFF#000000##FFFFFF
##4F10641.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#0D3262
Tritanopia (blue-blind)
#4D243A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1064;
/* rgb */ color: rgb(79, 16, 100);
/* oklch */ color: oklch(32.8% 0.141 315.7);
Tailwind
colors: {
  custom: {
    50: '#845791',
    500: '#4f1064',
    950: '#000000',
  },
}
SCSS
$custom: #4f1064;
$custom-light: #845791;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1064",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 285,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32764,
    "c": 0.14113,
    "h": 315.7
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#4F1064
secondary
#4E9D33
accent
#EF3966
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4F1064

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

Preview Lab → · Contrast checker → · Palette generator →

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