#4F105A#4F105A

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

Color values

HEX#4F105A
RGBrgb(79, 16, 90)
HSLhsl(291, 70%, 21%)
HSVhsv(291, 82%, 35%)
CMYKcmyk(12.2%, 82.2%, 0%, 64.7%)
CIE-LABlab(19.10, 39.17, -29.50)
CIE-LCHlch(19.10, 49.04, 323.02°)
OKLaboklab(31.99% 0.1026 -0.0826)
OKLCHoklch(31.99% 0.132 321.1)
XYZxyz(5.2550, 2.7713, 9.9290)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F105A #1B5A10
analogous
#2A105A #4F105A #5A1040
triadic
#4F105A #5A4F10 #105A4F
tetradic
#4F105A #5A2A10 #1B5A10 #10405A
square
#4F105A #5A2A10 #1B5A10 #10405A
split-complementary
#4F105A #405A10 #105A2A
monochromatic
#17051A #210726 #4F105A #7D198E #AA22C2

Accessibility & contrast

On white

13.51
#4F105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F105A
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F105A#FFFFFF#000000##FFFFFF
##4F105A1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#193158
Tritanopia (blue-blind)
#501F35
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f105a;
/* rgb */ color: rgb(79, 16, 90);
/* oklch */ color: oklch(32.0% 0.132 321.1);
Tailwind
colors: {
  custom: {
    50: '#835789',
    500: '#4f105a',
    950: '#000000',
  },
}
SCSS
$custom: #4f105a;
$custom-light: #835789;
$custom-dark: #000000;
JSON
{
  "hex": "#4f105a",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 291.081,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31994,
    "c": 0.13173,
    "h": 321.1
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#4F105A
secondary
#419333
accent
#ED3B56
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F105A

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

Preview Lab → · Contrast checker → · Palette generator →

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