#4F106C#4F106C

#4F106C is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.4% C 0.149 H 311.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#4F106C
RGBrgb(79, 16, 108)
HSLhsl(281, 74%, 24%)
HSVhsv(281, 85%, 42%)
CMYKcmyk(26.9%, 85.2%, 0%, 57.6%)
CIE-LABlab(20.50, 43.03, -39.11)
CIE-LCHlch(20.50, 58.15, 317.73°)
OKLaboklab(33.42% 0.0992 -0.1109)
OKLCHoklch(33.42% 0.149 311.8)
XYZxyz(6.1160, 3.1157, 14.4637)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F106C #2D6C10
analogous
#21106C #4F106C #6C105B
triadic
#4F106C #6C4F10 #106C4F
tetradic
#4F106C #6C2110 #2D6C10 #105B6C
square
#4F106C #6C2110 #2D6C10 #105B6C
split-complementary
#4F106C #5B6C10 #106C21
monochromatic
#13041B #280837 #4F106C #7618A1 #9D20D7

Accessibility & contrast

On white

12.94
#4F106C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4F106C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F106C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F106C#FFFFFF#000000##FFFFFF
##4F106C1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#4B283F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f106c;
/* rgb */ color: rgb(79, 16, 108);
/* oklch */ color: oklch(33.4% 0.149 311.8);
Tailwind
colors: {
  custom: {
    50: '#845897',
    500: '#4f106c',
    950: '#000000',
  },
}
SCSS
$custom: #4f106c;
$custom-light: #845897;
$custom-dark: #000000;
JSON
{
  "hex": "#4f106c",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 108
  },
  "hsl": {
    "h": 281.087,
    "s": 74.194,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3342,
    "c": 0.14877,
    "h": 311.8
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#4F106C
secondary
#57A434
accent
#F13772
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F106C

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

Preview Lab → · Contrast checker → · Palette generator →

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