#4F125B#4F125B

#4F125B is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.130 H 320.4°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#4F125B
RGBrgb(79, 18, 91)
HSLhsl(290, 67%, 21%)
HSVhsv(290, 80%, 36%)
CMYKcmyk(13.2%, 80.2%, 0%, 64.3%)
CIE-LABlab(19.43, 38.63, -29.63)
CIE-LCHlch(19.43, 48.69, 322.51°)
OKLaboklab(32.25% 0.1005 -0.0831)
OKLCHoklch(32.25% 0.13 320.4)
XYZxyz(5.3289, 2.8505, 10.1650)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F125B #1E5B12
analogous
#2B125B #4F125B #5B1243
triadic
#4F125B #5B4F12 #125B4F
tetradic
#4F125B #5B2B12 #1E5B12 #12435B
square
#4F125B #5B2B12 #1E5B12 #12435B
split-complementary
#4F125B #435B12 #125B2B
monochromatic
#16051A #230828 #4F125B #7B1C8E #A826C1

Accessibility & contrast

On white

13.38
#4F125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F125B
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F125B#FFFFFF#000000##FFFFFF
##4F125B1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#1A3159
Tritanopia (blue-blind)
#4F2136
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f125b;
/* rgb */ color: rgb(79, 18, 91);
/* oklch */ color: oklch(32.3% 0.130 320.4);
Tailwind
colors: {
  custom: {
    50: '#83578a',
    500: '#4f125b',
    950: '#000000',
  },
}
SCSS
$custom: #4f125b;
$custom-light: #83578a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f125b",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 290.137,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32252,
    "c": 0.13037,
    "h": 320.4
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#4F125B
secondary
#459335
accent
#EA3E5A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F125B

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

Preview Lab → · Contrast checker → · Palette generator →

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