#4F1A67#4F1A67

#4F1A67 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.132 H 313.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#4F1A67
RGBrgb(79, 26, 103)
HSLhsl(281, 60%, 25%)
HSVhsv(281, 75%, 40%)
CMYKcmyk(23.3%, 74.8%, 0%, 59.6%)
CIE-LABlab(21.51, 37.87, -34.23)
CIE-LCHlch(21.51, 51.05, 317.90°)
OKLaboklab(34.01% 0.0904 -0.0966)
OKLCHoklch(34.01% 0.132 313.1)
XYZxyz(6.0416, 3.3805, 13.1636)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A67 #32671A
analogous
#291A67 #4F1A67 #671A58
triadic
#4F1A67 #674F1A #1A674F
tetradic
#4F1A67 #67291A #32671A #1A5867
square
#4F1A67 #67291A #32671A #1A5867
split-complementary
#4F1A67 #58671A #1A6729
monochromatic
#130618 #2A0E36 #4F1A67 #742698 #9A33C9

Accessibility & contrast

On white

12.53
#4F1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4F1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1A67
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A67#FFFFFF#000000##FFFFFF
##4F1A671.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#133565
Tritanopia (blue-blind)
#4C2A3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1a67;
/* rgb */ color: rgb(79, 26, 103);
/* oklch */ color: oklch(34.0% 0.132 313.1);
Tailwind
colors: {
  custom: {
    50: '#835c93',
    500: '#4f1a67',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a67;
$custom-light: #835c93;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a67",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 281.299,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34006,
    "c": 0.13225,
    "h": 313.1
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#4F1A67
secondary
#5D9D40
accent
#E34576
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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