#4F0F5B#4F0F5B

#4F0F5B is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.134 H 320.6°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4F0F5B
RGBrgb(79, 15, 91)
HSLhsl(291, 72%, 21%)
HSVhsv(291, 84%, 36%)
CMYKcmyk(13.2%, 83.5%, 0%, 64.3%)
CIE-LABlab(19.05, 39.73, -30.25)
CIE-LCHlch(19.05, 49.93, 322.72°)
OKLaboklab(31.98% 0.1034 -0.0848)
OKLCHoklch(31.98% 0.134 320.6)
XYZxyz(5.2834, 2.7595, 10.1499)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F5B #1B5B0F
analogous
#290F5B #4F0F5B #5B0F41
triadic
#4F0F5B #5B4F0F #0F5B4F
tetradic
#4F0F5B #5B290F #1B5B0F #0F415B
square
#4F0F5B #5B290F #1B5B0F #0F415B
split-complementary
#4F0F5B #415B0F #0F5B29
monochromatic
#17041A #210626 #4F0F5B #7D1890 #AA20C4

Accessibility & contrast

On white

13.53
#4F0F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4F0F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F5B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F5B#FFFFFF#000000##FFFFFF
##4F0F5B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#183059
Tritanopia (blue-blind)
#4F1F35
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f0f5b;
/* rgb */ color: rgb(79, 15, 91);
/* oklch */ color: oklch(32.0% 0.134 320.6);
Tailwind
colors: {
  custom: {
    50: '#83568a',
    500: '#4f0f5b',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f5b;
$custom-light: #83568a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f5b",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 290.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31982,
    "c": 0.13374,
    "h": 320.6
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#4F0F5B
secondary
#419531
accent
#EE3956
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F0F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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