#4F1063#4F1063

#4F1063 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.7% C 0.140 H 316.2°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#4F1063
RGBrgb(79, 16, 99)
HSLhsl(286, 72%, 23%)
HSVhsv(286, 84%, 39%)
CMYKcmyk(20.2%, 83.8%, 0%, 61.2%)
CIE-LABlab(19.78, 41.06, -34.39)
CIE-LCHlch(19.78, 53.56, 320.05°)
OKLaboklab(32.68% 0.1012 -0.097)
OKLCHoklch(32.68% 0.14 316.2)
XYZxyz(5.6615, 2.9339, 12.0700)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1063 #246310
analogous
#251063 #4F1063 #63104E
triadic
#4F1063 #634F10 #10634F
tetradic
#4F1063 #632510 #246310 #104E63
square
#4F1063 #632510 #246310 #104E63
split-complementary
#4F1063 #4E6310 #106325
monochromatic
#15041A #25072E #4F1063 #791998 #A321CC

Accessibility & contrast

On white

13.23
#4F1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1063
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1063#FFFFFF#000000##FFFFFF
##4F10631.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#0F3161
Tritanopia (blue-blind)
#4E233A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1063;
/* rgb */ color: rgb(79, 16, 99);
/* oklch */ color: oklch(32.7% 0.140 316.2);
Tailwind
colors: {
  custom: {
    50: '#845790',
    500: '#4f1063',
    950: '#000000',
  },
}
SCSS
$custom: #4f1063;
$custom-light: #845790;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1063",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 285.542,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32684,
    "c": 0.14017,
    "h": 316.2
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#4F1063
secondary
#4C9C33
accent
#EF3965
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F1063

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

Preview Lab → · Contrast checker → · Palette generator →

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