#4F125D#4F125D

#4F125D is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.132 H 319.3°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#4F125D
RGBrgb(79, 18, 93)
HSLhsl(289, 68%, 22%)
HSVhsv(289, 81%, 36%)
CMYKcmyk(15.1%, 80.6%, 0%, 63.5%)
CIE-LABlab(19.58, 39.05, -30.74)
CIE-LCHlch(19.58, 49.69, 321.79°)
OKLaboklab(32.4% 0.1003 -0.0863)
OKLCHoklch(32.4% 0.132 319.3)
XYZxyz(5.4163, 2.8855, 10.6255)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F125D #205D12
analogous
#2A125D #4F125D #5D1246
triadic
#4F125D #5D4F12 #125D4F
tetradic
#4F125D #5D2A12 #205D12 #12465D
square
#4F125D #5D2A12 #205D12 #12465D
split-complementary
#4F125D #465D12 #125D2A
monochromatic
#16051A #23082A #4F125D #7B1C90 #A626C4

Accessibility & contrast

On white

13.32
#4F125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F125D
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F125D#FFFFFF#000000##FFFFFF
##4F125D1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#18315B
Tritanopia (blue-blind)
#4F2237
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f125d;
/* rgb */ color: rgb(79, 18, 93);
/* oklch */ color: oklch(32.4% 0.132 319.3);
Tailwind
colors: {
  custom: {
    50: '#83588b',
    500: '#4f125d',
    950: '#000000',
  },
}
SCSS
$custom: #4f125d;
$custom-light: #83588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f125d",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 288.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32401,
    "c": 0.13227,
    "h": 319.3
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#4F125D
secondary
#479535
accent
#EA3D5E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F125D

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

Preview Lab → · Contrast checker → · Palette generator →

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