#4F1260#4F1260

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

Color values

HEX#4F1260
RGBrgb(79, 18, 96)
HSLhsl(287, 68%, 22%)
HSVhsv(287, 81%, 38%)
CMYKcmyk(17.7%, 81.3%, 0%, 62.4%)
CIE-LABlab(19.80, 39.69, -32.37)
CIE-LCHlch(19.80, 51.21, 320.80°)
OKLaboklab(32.63% 0.0999 -0.0911)
OKLCHoklch(32.63% 0.135 317.6)
XYZxyz(5.5518, 2.9397, 11.3390)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1260 #236012
analogous
#281260 #4F1260 #60124A
triadic
#4F1260 #604F12 #12604F
tetradic
#4F1260 #602812 #236012 #124A60
square
#4F1260 #602812 #236012 #124A60
split-complementary
#4F1260 #4A6012 #126028
monochromatic
#15051A #25082C #4F1260 #791C94 #A425C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F1260#FFFFFF#000000##FFFFFF
##4F12601.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)
#002C62
Deuteranopia (green-blind)
#15325E
Tritanopia (blue-blind)
#4E2338
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1260;
/* rgb */ color: rgb(79, 18, 96);
/* oklch */ color: oklch(32.6% 0.135 317.6);
Tailwind
colors: {
  custom: {
    50: '#83588e',
    500: '#4f1260',
    950: '#000000',
  },
}
SCSS
$custom: #4f1260;
$custom-light: #83588e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1260",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 286.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32628,
    "c": 0.13515,
    "h": 317.6
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#4F1260
secondary
#4B9836
accent
#EB3D63
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1260

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

Preview Lab → · Contrast checker → · Palette generator →

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