#4F0C4B#4F0C4B

#4F0C4B is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.123 H 330.8°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#4F0C4B
RGBrgb(79, 12, 75)
HSLhsl(304, 74%, 18%)
HSVhsv(304, 85%, 31%)
CMYKcmyk(0%, 84.8%, 5.1%, 69%)
CIE-LABlab(17.62, 37.66, -21.71)
CIE-LCHlch(17.62, 43.47, 330.04°)
OKLaboklab(30.61% 0.1072 -0.0599)
OKLCHoklch(30.61% 0.123 330.8)
XYZxyz(4.6259, 2.4336, 6.8813)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C4B #0C4F10
analogous
#310C4F #4F0C4B #4F0C29
triadic
#4F0C4B #4B4F0C #0C4B4F
tetradic
#4F0C4B #4F310C #0C4F10 #0C294F
square
#4F0C4B #4F310C #0C4F10 #0C294F
split-complementary
#4F0C4B #294F0C #0C4F31
monochromatic
#1B0419 #1B0419 #4F0C4B #84147D #B91CB0

Accessibility & contrast

On white

14.13
#4F0C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4F0C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C4B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C4B#FFFFFF#000000##FFFFFF
##4F0C4B1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254D
Deuteranopia (green-blind)
#222E49
Tritanopia (blue-blind)
#52152B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0c4b;
/* rgb */ color: rgb(79, 12, 75);
/* oklch */ color: oklch(30.6% 0.123 330.8);
Tailwind
colors: {
  custom: {
    50: '#83547d',
    500: '#4f0c4b',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c4b;
$custom-light: #83547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c4b",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 303.582,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30611,
    "c": 0.12282,
    "h": 330.8
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#4F0C4B
secondary
#2C8B32
accent
#F04338
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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