#4F1155#4F1155

#4F1155 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.126 H 324.1°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#4F1155
RGBrgb(79, 17, 85)
HSLhsl(295, 67%, 20%)
HSVhsv(295, 80%, 33%)
CMYKcmyk(7.1%, 80%, 0%, 66.7%)
CIE-LABlab(18.88, 37.79, -26.49)
CIE-LCHlch(18.88, 46.15, 324.97°)
OKLaboklab(31.73% 0.102 -0.0739)
OKLCHoklch(31.73% 0.126 324.1)
XYZxyz(5.0645, 2.7194, 8.8507)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1155 #175511
analogous
#2D1155 #4F1155 #551139
triadic
#4F1155 #554F11 #11554F
tetradic
#4F1155 #552D11 #175511 #113955
square
#4F1155 #552D11 #175511 #113955
split-complementary
#4F1155 #395511 #11552D
monochromatic
#18051A #200722 #4F1155 #7E1B88 #AE25BB

Accessibility & contrast

On white

13.60
#4F1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4F1155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1155
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1155#FFFFFF#000000##FFFFFF
##4F11551.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#1E3053
Tritanopia (blue-blind)
#511D32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1155;
/* rgb */ color: rgb(79, 17, 85);
/* oklch */ color: oklch(31.7% 0.126 324.1);
Tailwind
colors: {
  custom: {
    50: '#835785',
    500: '#4f1155',
    950: '#000000',
  },
}
SCSS
$custom: #4f1155;
$custom-light: #835785;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1155",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 294.706,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.31726,
    "c": 0.12594,
    "h": 324.1
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#4F1155
secondary
#3C8E34
accent
#EA3E4D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1155

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

Preview Lab → · Contrast checker → · Palette generator →

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