#4F0C53#4F0C53

#4F0C53 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.2% C 0.130 H 325.6°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#4F0C53
RGBrgb(79, 12, 83)
HSLhsl(297, 75%, 19%)
HSVhsv(297, 86%, 33%)
CMYKcmyk(4.8%, 85.5%, 0%, 67.5%)
CIE-LABlab(18.14, 39.13, -26.32)
CIE-LCHlch(18.14, 47.16, 326.07°)
OKLaboklab(31.16% 0.1069 -0.0733)
OKLCHoklch(31.16% 0.13 325.6)
XYZxyz(4.9171, 2.5501, 8.4152)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C53 #10530C
analogous
#2B0C53 #4F0C53 #530C33
triadic
#4F0C53 #534F0C #0C534F
tetradic
#4F0C53 #532B0C #10530C #0C3353
square
#4F0C53 #532B0C #10530C #0C3353
split-complementary
#4F0C53 #33530C #0C532B
monochromatic
#19041B #1C041E #4F0C53 #821488 #B51BBE

Accessibility & contrast

On white

13.91
#4F0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C53
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C53#FFFFFF#000000##FFFFFF
##4F0C531.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#1D2F51
Tritanopia (blue-blind)
#511A30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0c53;
/* rgb */ color: rgb(79, 12, 83);
/* oklch */ color: oklch(31.2% 0.130 325.6);
Tailwind
colors: {
  custom: {
    50: '#835584',
    500: '#4f0c53',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c53;
$custom-light: #835584;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c53",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 296.62,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31156,
    "c": 0.12966,
    "h": 325.6
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#4F0C53
secondary
#328E2D
accent
#F13641
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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