#4F0C45#4F0C45

#4F0C45 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.118 H 335.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#4F0C45
RGBrgb(79, 12, 69)
HSLhsl(309, 74%, 18%)
HSVhsv(309, 85%, 31%)
CMYKcmyk(0%, 84.8%, 12.7%, 69%)
CIE-LABlab(17.25, 36.62, -18.14)
CIE-LCHlch(17.25, 40.86, 333.65°)
OKLaboklab(30.23% 0.107 -0.0496)
OKLCHoklch(30.23% 0.118 335.1)
XYZxyz(4.4302, 2.3553, 5.8504)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C45 #0C4F16
analogous
#370C4F #4F0C45 #4F0C24
triadic
#4F0C45 #454F0C #0C454F
tetradic
#4F0C45 #4F370C #0C4F16 #0C244F
square
#4F0C45 #4F370C #0C4F16 #0C244F
split-complementary
#4F0C45 #244F0C #0C4F37
monochromatic
#1B0417 #1B0417 #4F0C45 #841473 #B91CA2

Accessibility & contrast

On white

14.28
#4F0C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C45
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C45#FFFFFF#000000##FFFFFF
##4F0C451.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2447
Deuteranopia (green-blind)
#252E43
Tritanopia (blue-blind)
#531228
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0c45;
/* rgb */ color: rgb(79, 12, 69);
/* oklch */ color: oklch(30.2% 0.118 335.1);
Tailwind
colors: {
  custom: {
    50: '#835479',
    500: '#4f0c45',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c45;
$custom-light: #835479;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c45",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 308.955,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30232,
    "c": 0.11792,
    "h": 335.1
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#4F0C45
secondary
#2C8B3A
accent
#F05338
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0C45

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

Preview Lab → · Contrast checker → · Palette generator →

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