#4F125C#4F125C

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

Color values

HEX#4F125C
RGBrgb(79, 18, 92)
HSLhsl(289, 67%, 22%)
HSVhsv(289, 80%, 36%)
CMYKcmyk(14.1%, 80.4%, 0%, 63.9%)
CIE-LABlab(19.51, 38.84, -30.19)
CIE-LCHlch(19.51, 49.19, 322.15°)
OKLaboklab(32.33% 0.1004 -0.0847)
OKLCHoklch(32.33% 0.131 319.8)
XYZxyz(5.3723, 2.8679, 10.3937)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F125C #1F5C12
analogous
#2A125C #4F125C #5C1244
triadic
#4F125C #5C4F12 #125C4F
tetradic
#4F125C #5C2A12 #1F5C12 #12445C
square
#4F125C #5C2A12 #1F5C12 #12445C
split-complementary
#4F125C #445C12 #125C2A
monochromatic
#16051A #230829 #4F125C #7B1C8F #A726C2

Accessibility & contrast

On white

13.35
#4F125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F125C
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F125C#FFFFFF#000000##FFFFFF
##4F125C1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#19315A
Tritanopia (blue-blind)
#4F2136
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f125c;
/* rgb */ color: rgb(79, 18, 92);
/* oklch */ color: oklch(32.3% 0.131 319.8);
Tailwind
colors: {
  custom: {
    50: '#83588b',
    500: '#4f125c',
    950: '#000000',
  },
}
SCSS
$custom: #4f125c;
$custom-light: #83588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f125c",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 289.459,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32326,
    "c": 0.13132,
    "h": 319.8
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#4F125C
secondary
#469435
accent
#EA3E5C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F125C

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

Preview Lab → · Contrast checker → · Palette generator →

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