#4F145E#4F145E

#4F145E is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.131 H 318.6°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#4F145E
RGBrgb(79, 20, 94)
HSLhsl(288, 65%, 22%)
HSVhsv(288, 79%, 37%)
CMYKcmyk(16%, 78.7%, 0%, 63.1%)
CIE-LABlab(19.93, 38.47, -30.84)
CIE-LCHlch(19.93, 49.31, 321.28°)
OKLaboklab(32.67% 0.0981 -0.0866)
OKLCHoklch(32.67% 0.131 318.6)
XYZxyz(5.4947, 2.9710, 10.8715)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F145E #235E14
analogous
#2A145E #4F145E #5E1448
triadic
#4F145E #5E4F14 #145E4F
tetradic
#4F145E #5E2A14 #235E14 #14485E
square
#4F145E #5E2A14 #235E14 #14485E
split-complementary
#4F145E #485E14 #145E2A
monochromatic
#150519 #25092C #4F145E #791F90 #A429C3

Accessibility & contrast

On white

13.17
#4F145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F145E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F145E#FFFFFF#000000##FFFFFF
##4F145E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#18325C
Tritanopia (blue-blind)
#4F2338
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f145e;
/* rgb */ color: rgb(79, 20, 94);
/* oklch */ color: oklch(32.7% 0.131 318.6);
Tailwind
colors: {
  custom: {
    50: '#83598c',
    500: '#4f145e',
    950: '#000000',
  },
}
SCSS
$custom: #4f145e;
$custom-light: #83598c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f145e",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 287.838,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32671,
    "c": 0.13084,
    "h": 318.6
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#4F145E
secondary
#4B9638
accent
#E84062
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F145E

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

Preview Lab → · Contrast checker → · Palette generator →

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