#4F106F#4F106F

#4F106F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.152 H 310.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#4F106F
RGBrgb(79, 16, 111)
HSLhsl(280, 75%, 25%)
HSVhsv(280, 86%, 44%)
CMYKcmyk(28.8%, 85.6%, 0%, 56.5%)
CIE-LABlab(20.75, 43.70, -40.65)
CIE-LCHlch(20.75, 59.68, 317.07°)
OKLaboklab(33.67% 0.0984 -0.1154)
OKLCHoklch(33.67% 0.152 310.5)
XYZxyz(6.2784, 3.1807, 15.3190)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F106F #306F10
analogous
#1F106F #4F106F #6F1060
triadic
#4F106F #6F4F10 #106F4F
tetradic
#4F106F #6F1F10 #306F10 #10606F
square
#4F106F #6F1F10 #306F10 #10606F
split-complementary
#4F106F #606F10 #106F1F
monochromatic
#13041B #29083A #4F106F #7518A4 #9B1FDA

Accessibility & contrast

On white

12.83
#4F106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F106F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F106F#FFFFFF#000000##FFFFFF
##4F106F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#4A2941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f106f;
/* rgb */ color: rgb(79, 16, 111);
/* oklch */ color: oklch(33.7% 0.152 310.5);
Tailwind
colors: {
  custom: {
    50: '#855899',
    500: '#4f106f',
    950: '#000000',
  },
}
SCSS
$custom: #4f106f;
$custom-light: #855899;
$custom-dark: #000000;
JSON
{
  "hex": "#4f106f",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 279.789,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33674,
    "c": 0.15166,
    "h": 310.5
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#4F106F
secondary
#5BA734
accent
#F13675
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F106F

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

Preview Lab → · Contrast checker → · Palette generator →

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