#4F106A#4F106A

#4F106A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.147 H 312.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#4F106A
RGBrgb(79, 16, 106)
HSLhsl(282, 74%, 24%)
HSVhsv(282, 85%, 42%)
CMYKcmyk(25.5%, 84.9%, 0%, 58.4%)
CIE-LABlab(20.34, 42.58, -38.08)
CIE-LCHlch(20.34, 57.13, 318.20°)
OKLaboklab(33.25% 0.0997 -0.1078)
OKLCHoklch(33.25% 0.147 312.8)
XYZxyz(6.0108, 3.0736, 13.9095)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F106A #2B6A10
analogous
#22106A #4F106A #6A1058
triadic
#4F106A #6A4F10 #106A4F
tetradic
#4F106A #6A2210 #2B6A10 #10586A
square
#4F106A #6A2210 #2B6A10 #10586A
split-complementary
#4F106A #586A10 #106A22
monochromatic
#14041B #270835 #4F106A #77189F #9E20D4

Accessibility & contrast

On white

13.01
#4F106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4F106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F106A
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F106A#FFFFFF#000000##FFFFFF
##4F106A1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#013268
Tritanopia (blue-blind)
#4C273E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f106a;
/* rgb */ color: rgb(79, 16, 106);
/* oklch */ color: oklch(33.3% 0.147 312.8);
Tailwind
colors: {
  custom: {
    50: '#845895',
    500: '#4f106a',
    950: '#000000',
  },
}
SCSS
$custom: #4f106a;
$custom-light: #845895;
$custom-dark: #000000;
JSON
{
  "hex": "#4f106a",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 282,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33252,
    "c": 0.14686,
    "h": 312.8
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#4F106A
secondary
#55A234
accent
#F0376F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F106A

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

Preview Lab → · Contrast checker → · Palette generator →

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