#4F0F62#4F0F62

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

Color values

HEX#4F0F62
RGBrgb(79, 15, 98)
HSLhsl(286, 73%, 22%)
HSVhsv(286, 85%, 38%)
CMYKcmyk(19.4%, 84.7%, 0%, 61.6%)
CIE-LABlab(19.58, 41.19, -34.05)
CIE-LCHlch(19.58, 53.44, 320.42°)
OKLaboklab(32.52% 0.1023 -0.096)
OKLCHoklch(32.52% 0.14 316.8)
XYZxyz(5.5995, 2.8860, 11.8150)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F62 #22620F
analogous
#260F62 #4F0F62 #620F4C
triadic
#4F0F62 #624F0F #0F624F
tetradic
#4F0F62 #62260F #22620F #0F4C62
square
#4F0F62 #62260F #22620F #0F4C62
split-complementary
#4F0F62 #4C620F #0F6226
monochromatic
#15041B #24072D #4F0F62 #7A1797 #A51FCC

Accessibility & contrast

On white

13.31
#4F0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F0F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F62
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F62#FFFFFF#000000##FFFFFF
##4F0F621.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#103160
Tritanopia (blue-blind)
#4E2239
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f0f62;
/* rgb */ color: rgb(79, 15, 98);
/* oklch */ color: oklch(32.5% 0.140 316.8);
Tailwind
colors: {
  custom: {
    50: '#84578f',
    500: '#4f0f62',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f62;
$custom-light: #84578f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f62",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 286.265,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32522,
    "c": 0.14025,
    "h": 316.8
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#4F0F62
secondary
#4A9B32
accent
#F03862
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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