#4F106D#4F106D

#4F106D is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.5% C 0.150 H 311.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#4F106D
RGBrgb(79, 16, 109)
HSLhsl(281, 74%, 25%)
HSVhsv(281, 85%, 43%)
CMYKcmyk(27.5%, 85.3%, 0%, 57.3%)
CIE-LABlab(20.58, 43.25, -39.63)
CIE-LCHlch(20.58, 58.66, 317.50°)
OKLaboklab(33.5% 0.099 -0.1124)
OKLCHoklch(33.5% 0.15 311.4)
XYZxyz(6.1695, 3.1371, 14.7456)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F106D #2E6D10
analogous
#21106D #4F106D #6D105D
triadic
#4F106D #6D4F10 #106D4F
tetradic
#4F106D #6D2110 #2E6D10 #105D6D
square
#4F106D #6D2110 #2E6D10 #105D6D
split-complementary
#4F106D #5D6D10 #106D21
monochromatic
#13041B #280838 #4F106D #7618A2 #9C20D8

Accessibility & contrast

On white

12.90
#4F106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4F106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F106D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F106D#FFFFFF#000000##FFFFFF
##4F106D1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#4B283F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f106d;
/* rgb */ color: rgb(79, 16, 109);
/* oklch */ color: oklch(33.5% 0.150 311.4);
Tailwind
colors: {
  custom: {
    50: '#845898',
    500: '#4f106d',
    950: '#000000',
  },
}
SCSS
$custom: #4f106d;
$custom-light: #845898;
$custom-dark: #000000;
JSON
{
  "hex": "#4f106d",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 280.645,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33504,
    "c": 0.14973,
    "h": 311.4
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#4F106D
secondary
#58A534
accent
#F13773
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F106D

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

Preview Lab → · Contrast checker → · Palette generator →

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