#4F108D#4F108D

#4F108D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.181 H 299.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#4F108D
RGBrgb(79, 16, 141)
HSLhsl(270, 80%, 31%)
HSVhsv(270, 89%, 55%)
CMYKcmyk(44%, 88.7%, 0%, 44.7%)
CIE-LABlab(23.52, 50.71, -55.17)
CIE-LCHlch(23.52, 74.94, 312.59°)
OKLaboklab(36.44% 0.0881 -0.158)
OKLCHoklch(36.44% 0.181 299.1)
XYZxyz(8.2162, 3.9558, 25.5248)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F108D #4E8D10
analogous
#10108D #4F108D #8D108C
triadic
#4F108D #8D4F10 #108D4F
tetradic
#4F108D #8D1010 #4E8D10 #108C8D
square
#4F108D #8D1010 #4E8D10 #108C8D
split-complementary
#4F108D #8C8D10 #108D10
monochromatic
#11041F #300A56 #4F108D #6E16C4 #8C30E7

Accessibility & contrast

On white

11.72
#4F108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4F108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F108D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F108D#FFFFFF#000000##FFFFFF
##4F108D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#3F3752
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f108d;
/* rgb */ color: rgb(79, 16, 141);
/* oklch */ color: oklch(36.4% 0.181 299.1);
Tailwind
colors: {
  custom: {
    50: '#885aaf',
    500: '#4f108d',
    950: '#000000',
  },
}
SCSS
$custom: #4f108d;
$custom-light: #885aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f108d",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 270.24,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3644,
    "c": 0.18091,
    "h": 299.1
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#4F108D
secondary
#7CC237
accent
#F63293
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4F108D

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

Preview Lab → · Contrast checker → · Palette generator →

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