#4F0B47#4F0B47

#4F0B47 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.3% C 0.121 H 333.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4F0B47
RGBrgb(79, 11, 71)
HSLhsl(307, 76%, 18%)
HSVhsv(307, 86%, 31%)
CMYKcmyk(0%, 86.1%, 10.1%, 69%)
CIE-LABlab(17.26, 37.28, -19.51)
CIE-LCHlch(17.26, 42.08, 332.37°)
OKLaboklab(30.28% 0.108 -0.0536)
OKLCHoklch(30.28% 0.121 333.6)
XYZxyz(4.4815, 2.3569, 6.1789)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0B47 #0B4F13
analogous
#350B4F #4F0B47 #4F0B25
triadic
#4F0B47 #474F0B #0B474F
tetradic
#4F0B47 #4F350B #0B4F13 #0B254F
square
#4F0B47 #4F350B #0B4F13 #0B254F
split-complementary
#4F0B47 #254F0B #0B4F35
monochromatic
#1B0418 #1B0418 #4F0B47 #851277 #BA1AA8

Accessibility & contrast

On white

14.27
#4F0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F0B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0B47
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0B47#FFFFFF#000000##FFFFFF
##4F0B471.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082449
Deuteranopia (green-blind)
#242E45
Tritanopia (blue-blind)
#531329
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0b47;
/* rgb */ color: rgb(79, 11, 71);
/* oklch */ color: oklch(30.3% 0.121 333.6);
Tailwind
colors: {
  custom: {
    50: '#83547a',
    500: '#4f0b47',
    950: '#000000',
  },
}
SCSS
$custom: #4f0b47;
$custom-light: #83547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0b47",
  "rgb": {
    "r": 79,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 307.059,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30276,
    "c": 0.12059,
    "h": 333.6
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#4F0B47
secondary
#2B8B36
accent
#F24C36
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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