#4F1368#4F1368

#4F1368 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.4% C 0.142 H 313.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4F1368
RGBrgb(79, 19, 104)
HSLhsl(282, 69%, 24%)
HSVhsv(282, 82%, 41%)
CMYKcmyk(24%, 81.7%, 0%, 59.2%)
CIE-LABlab(20.55, 41.06, -36.43)
CIE-LCHlch(20.55, 54.89, 318.42°)
OKLaboklab(33.35% 0.0975 -0.103)
OKLCHoklch(33.35% 0.142 313.4)
XYZxyz(5.9556, 3.1277, 13.3840)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1368 #2C6813
analogous
#251368 #4F1368 #681357
triadic
#4F1368 #684F13 #13684F
tetradic
#4F1368 #682513 #2C6813 #135768
square
#4F1368 #682513 #2C6813 #135768
split-complementary
#4F1368 #576813 #136825
monochromatic
#14051A #280A34 #4F1368 #761C9C #9E26CF

Accessibility & contrast

On white

12.92
#4F1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4F1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1368
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1368#FFFFFF#000000##FFFFFF
##4F13681.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#093366
Tritanopia (blue-blind)
#4C273D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1368;
/* rgb */ color: rgb(79, 19, 104);
/* oklch */ color: oklch(33.4% 0.142 313.4);
Tailwind
colors: {
  custom: {
    50: '#845994',
    500: '#4f1368',
    950: '#000000',
  },
}
SCSS
$custom: #4f1368;
$custom-light: #845994;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1368",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 282.353,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3335,
    "c": 0.14183,
    "h": 313.4
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#4F1368
secondary
#569F37
accent
#EC3C70
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1368

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

Preview Lab → · Contrast checker → · Palette generator →

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