#4F1253#4F1253

#4F1253 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.123 H 325.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#4F1253
RGBrgb(79, 18, 83)
HSLhsl(296, 64%, 20%)
HSVhsv(296, 78%, 33%)
CMYKcmyk(4.8%, 78.3%, 0%, 67.5%)
CIE-LABlab(18.88, 37.01, -25.14)
CIE-LCHlch(18.88, 44.74, 325.81°)
OKLaboklab(31.68% 0.101 -0.0699)
OKLCHoklch(31.68% 0.123 325.3)
XYZxyz(5.0020, 2.7197, 8.4434)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1253 #165312
analogous
#2F1253 #4F1253 #531236
triadic
#4F1253 #534F12 #12534F
tetradic
#4F1253 #532F12 #165312 #123653
square
#4F1253 #532F12 #165312 #123653
split-complementary
#4F1253 #365312 #12532F
monochromatic
#180519 #1F0721 #4F1253 #7F1D85 #AF28B8

Accessibility & contrast

On white

13.60
#4F1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4F1253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1253
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1253#FFFFFF#000000##FFFFFF
##4F12531.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022955
Deuteranopia (green-blind)
#203051
Tritanopia (blue-blind)
#511D31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1253;
/* rgb */ color: rgb(79, 18, 83);
/* oklch */ color: oklch(31.7% 0.123 325.3);
Tailwind
colors: {
  custom: {
    50: '#835784',
    500: '#4f1253',
    950: '#000000',
  },
}
SCSS
$custom: #4f1253;
$custom-light: #835784;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1253",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 296.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31684,
    "c": 0.12287,
    "h": 325.3
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#4F1253
secondary
#3A8C35
accent
#E7404B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1253

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

Preview Lab → · Contrast checker → · Palette generator →

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