#4F1749#4F1749

#4F1749 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.6% C 0.107 H 332.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4F1749
RGBrgb(79, 23, 73)
HSLhsl(306, 55%, 20%)
HSVhsv(306, 71%, 31%)
CMYKcmyk(0%, 70.9%, 7.6%, 69%)
CIE-LABlab(19.04, 32.92, -18.09)
CIE-LCHlch(19.04, 37.56, 331.21°)
OKLaboklab(31.6% 0.0944 -0.0496)
OKLCHoklch(31.6% 0.107 332.3)
XYZxyz(4.7334, 2.7565, 6.5848)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1749 #174F1D
analogous
#39174F #4F1749 #4F172D
triadic
#4F1749 #494F17 #17494F
tetradic
#4F1749 #4F3917 #174F1D #172D4F
square
#4F1749 #4F3917 #174F1D #172D4F
split-complementary
#4F1749 #2D4F17 #174F39
monochromatic
#180716 #20091D #4F1749 #7E2575 #AE33A1

Accessibility & contrast

On white

13.54
#4F1749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4F1749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1749
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1749#FFFFFF#000000##FFFFFF
##4F17491.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15294A
Deuteranopia (green-blind)
#283148
Tritanopia (blue-blind)
#531C2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1749;
/* rgb */ color: rgb(79, 23, 73);
/* oklch */ color: oklch(31.6% 0.107 332.3);
Tailwind
colors: {
  custom: {
    50: '#82597c',
    500: '#4f1749',
    950: '#000000',
  },
}
SCSS
$custom: #4f1749;
$custom-light: #82597c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1749",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 306.429,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.31599,
    "c": 0.10665,
    "h": 332.3
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#4F1749
secondary
#3C8644
accent
#DE594A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4F1749

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

Preview Lab → · Contrast checker → · Palette generator →

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