#4F125E#4F125E

#4F125E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.133 H 318.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#4F125E
RGBrgb(79, 18, 94)
HSLhsl(288, 68%, 22%)
HSVhsv(288, 81%, 37%)
CMYKcmyk(16%, 80.9%, 0%, 63.1%)
CIE-LABlab(19.65, 39.26, -31.28)
CIE-LCHlch(19.65, 50.20, 321.45°)
OKLaboklab(32.48% 0.1001 -0.0879)
OKLCHoklch(32.48% 0.133 318.7)
XYZxyz(5.4609, 2.9033, 10.8602)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F125E #215E12
analogous
#29125E #4F125E #5E1247
triadic
#4F125E #5E4F12 #125E4F
tetradic
#4F125E #5E2912 #215E12 #12475E
square
#4F125E #5E2912 #215E12 #12475E
split-complementary
#4F125E #475E12 #125E29
monochromatic
#16051A #24082B #4F125E #7A1C91 #A526C5

Accessibility & contrast

On white

13.29
#4F125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F125E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F125E#FFFFFF#000000##FFFFFF
##4F125E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f125e;
/* rgb */ color: rgb(79, 18, 94);
/* oklch */ color: oklch(32.5% 0.133 318.7);
Tailwind
colors: {
  custom: {
    50: '#83588c',
    500: '#4f125e',
    950: '#000000',
  },
}
SCSS
$custom: #4f125e;
$custom-light: #83588c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f125e",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 288.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32476,
    "c": 0.13322,
    "h": 318.7
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#4F125E
secondary
#499635
accent
#EB3D5F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F125E

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

Preview Lab → · Contrast checker → · Palette generator →

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