#4F0F60#4F0F60

#4F0F60 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.4% C 0.138 H 317.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#4F0F60
RGBrgb(79, 15, 96)
HSLhsl(287, 73%, 22%)
HSVhsv(287, 84%, 38%)
CMYKcmyk(17.7%, 84.4%, 0%, 62.4%)
CIE-LABlab(19.43, 40.76, -32.97)
CIE-LCHlch(19.43, 52.43, 321.03°)
OKLaboklab(32.37% 0.1026 -0.0928)
OKLCHoklch(32.37% 0.138 317.9)
XYZxyz(5.5063, 2.8487, 11.3239)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F60 #20600F
analogous
#260F60 #4F0F60 #600F49
triadic
#4F0F60 #604F0F #0F604F
tetradic
#4F0F60 #60260F #20600F #0F4960
square
#4F0F60 #60260F #20600F #0F4960
split-complementary
#4F0F60 #49600F #0F6026
monochromatic
#16041A #23072B #4F0F60 #7B1795 #A620CA

Accessibility & contrast

On white

13.38
#4F0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F60
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F60#FFFFFF#000000##FFFFFF
##4F0F601.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#12315E
Tritanopia (blue-blind)
#4E2138
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f0f60;
/* rgb */ color: rgb(79, 15, 96);
/* oklch */ color: oklch(32.4% 0.138 317.9);
Tailwind
colors: {
  custom: {
    50: '#84578e',
    500: '#4f0f60',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f60;
$custom-light: #84578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f60",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 287.407,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32365,
    "c": 0.13838,
    "h": 317.9
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#4F0F60
secondary
#479932
accent
#F0385F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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