#2F0436#2F0436

#2F0436 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.097 H 321.6°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#2F0436
RGBrgb(47, 4, 54)
HSLhsl(292, 86%, 11%)
HSVhsv(292, 93%, 21%)
CMYKcmyk(13%, 92.6%, 0%, 78.8%)
CIE-LABlab(8.63, 29.08, -21.57)
CIE-LCHlch(8.63, 36.21, 323.43°)
OKLaboklab(22.53% 0.0764 -0.0605)
OKLCHoklch(22.53% 0.097 321.6)
XYZxyz(1.8815, 0.9576, 3.5750)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0436 #0B3604
analogous
#160436 #2F0436 #360424
triadic
#2F0436 #362F04 #04362F
tetradic
#2F0436 #361604 #0B3604 #042436
square
#2F0436 #361604 #0B3604 #042436
split-complementary
#2F0436 #243604 #043616
monochromatic
#19021C #19021C #2F0436 #61086F #920CA8

Accessibility & contrast

On white

17.62
#2F0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0436
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0436#FFFFFF#000000##FFFFFF
##2F04361.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#0A1A35
Tritanopia (blue-blind)
#300E1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0436;
/* rgb */ color: rgb(47, 4, 54);
/* oklch */ color: oklch(22.5% 0.097 321.6);
Tailwind
colors: {
  custom: {
    50: '#6a4a6d',
    500: '#2f0436',
    950: '#000000',
  },
}
SCSS
$custom: #2f0436;
$custom-light: #6a4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0436",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 291.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22532,
    "c": 0.09741,
    "h": 321.6
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#2F0436
secondary
#2A781E
accent
#FC2B49
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0436

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

Preview Lab → · Contrast checker → · Palette generator →

#2F0436 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva