#4F104B#4F104B

#4F104B is a dark, moderate purple. Relative luminance 0.025; OKLCH L 31.0% C 0.118 H 330.8°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#4F104B
RGBrgb(79, 16, 75)
HSLhsl(304, 66%, 19%)
HSVhsv(304, 80%, 31%)
CMYKcmyk(0%, 79.7%, 5.1%, 69%)
CIE-LABlab(18.10, 36.26, -20.93)
CIE-LCHlch(18.10, 41.87, 330.00°)
OKLaboklab(30.96% 0.1032 -0.0577)
OKLCHoklch(30.96% 0.118 330.8)
XYZxyz(4.6797, 2.5412, 6.8993)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F104B #104F14
analogous
#33104F #4F104B #4F102B
triadic
#4F104B #4B4F10 #104B4F
tetradic
#4F104B #4F3310 #104F14 #102B4F
square
#4F104B #4F3310 #104F14 #102B4F
split-complementary
#4F104B #2B4F10 #104F33
monochromatic
#190518 #1C061B #4F104B #821A7B #B525AC

Accessibility & contrast

On white

13.92
#4F104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F104B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F104B#FFFFFF#000000##FFFFFF
##4F104B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274D
Deuteranopia (green-blind)
#232F49
Tritanopia (blue-blind)
#52182C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f104b;
/* rgb */ color: rgb(79, 16, 75);
/* oklch */ color: oklch(31.0% 0.118 330.8);
Tailwind
colors: {
  custom: {
    50: '#83567d',
    500: '#4f104b',
    950: '#000000',
  },
}
SCSS
$custom: #4f104b;
$custom-light: #83567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f104b",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 303.81,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3096,
    "c": 0.11822,
    "h": 330.8
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#4F104B
secondary
#328938
accent
#E9493F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F104B

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

Preview Lab → · Contrast checker → · Palette generator →

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