#4F1245#4F1245

#4F1245 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.111 H 335.3°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4F1245
RGBrgb(79, 18, 69)
HSLhsl(310, 63%, 19%)
HSVhsv(310, 77%, 31%)
CMYKcmyk(0%, 77.2%, 12.7%, 69%)
CIE-LABlab(18.03, 34.40, -16.92)
CIE-LCHlch(18.03, 38.33, 333.81°)
OKLaboklab(30.79% 0.1004 -0.0462)
OKLCHoklch(30.79% 0.111 335.3)
XYZxyz(4.5150, 2.5249, 5.8786)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1245 #124F1C
analogous
#3B124F #4F1245 #4F1227
triadic
#4F1245 #454F12 #12454F
tetradic
#4F1245 #4F3B12 #124F1C #12274F
square
#4F1245 #4F3B12 #124F1C #12274F
split-complementary
#4F1245 #274F12 #124F3B
monochromatic
#190616 #1D0719 #4F1245 #811D71 #B3299C

Accessibility & contrast

On white

13.95
#4F1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1245
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1245#FFFFFF#000000##FFFFFF
##4F12451.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122646
Deuteranopia (green-blind)
#272F44
Tritanopia (blue-blind)
#531629
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1245;
/* rgb */ color: rgb(79, 18, 69);
/* oklch */ color: oklch(30.8% 0.111 335.3);
Tailwind
colors: {
  custom: {
    50: '#835679',
    500: '#4f1245',
    950: '#000000',
  },
}
SCSS
$custom: #4f1245;
$custom-light: #835679;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1245",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 309.836,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30794,
    "c": 0.11051,
    "h": 335.3
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#4F1245
secondary
#358842
accent
#E65D42
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1245

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

Preview Lab → · Contrast checker → · Palette generator →

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