#4F104C#4F104C

#4F104C is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.119 H 330.1°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#4F104C
RGBrgb(79, 16, 76)
HSLhsl(303, 66%, 19%)
HSVhsv(303, 80%, 31%)
CMYKcmyk(0%, 79.7%, 3.8%, 69%)
CIE-LABlab(18.17, 36.44, -21.52)
CIE-LCHlch(18.17, 42.32, 329.44°)
OKLaboklab(31.02% 0.1032 -0.0594)
OKLCHoklch(31.02% 0.119 330.1)
XYZxyz(4.7142, 2.5550, 7.0809)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F104C #104F13
analogous
#32104F #4F104C #4F102C
triadic
#4F104C #4C4F10 #104C4F
tetradic
#4F104C #4F3210 #104F13 #102C4F
square
#4F104C #4F3210 #104F13 #102C4F
split-complementary
#4F104C #2C4F10 #104F32
monochromatic
#190518 #1C061B #4F104C #821A7D #B525AE

Accessibility & contrast

On white

13.90
#4F104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F104C
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F104C#FFFFFF#000000##FFFFFF
##4F104C1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08274E
Deuteranopia (green-blind)
#232F4A
Tritanopia (blue-blind)
#52182D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f104c;
/* rgb */ color: rgb(79, 16, 76);
/* oklch */ color: oklch(31.0% 0.119 330.1);
Tailwind
colors: {
  custom: {
    50: '#83567e',
    500: '#4f104c',
    950: '#000000',
  },
}
SCSS
$custom: #4f104c;
$custom-light: #83567e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f104c",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 302.857,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31024,
    "c": 0.11908,
    "h": 330.1
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#4F104C
secondary
#328936
accent
#E9473F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F104C

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

Preview Lab → · Contrast checker → · Palette generator →

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