#2F0729#2F0729

#2F0729 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.080 H 334.6°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#2F0729
RGBrgb(47, 7, 41)
HSLhsl(309, 74%, 11%)
HSVhsv(309, 85%, 18%)
CMYKcmyk(0%, 85.1%, 12.8%, 81.6%)
CIE-LABlab(8.28, 24.79, -12.52)
CIE-LCHlch(8.28, 27.77, 333.21°)
OKLaboklab(21.98% 0.0721 -0.0342)
OKLCHoklch(21.98% 0.08 334.6)
XYZxyz(1.6485, 0.9165, 2.1875)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0729 #072F0D
analogous
#21072F #2F0729 #2F0715
triadic
#2F0729 #292F07 #07292F
tetradic
#2F0729 #2F2107 #072F0D #07152F
square
#2F0729 #2F2107 #072F0D #07152F
split-complementary
#2F0729 #152F07 #072F21
monochromatic
#1B0417 #1B0417 #2F0729 #640F57 #9A1786

Accessibility & contrast

On white

17.75
#2F0729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0729
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0729#FFFFFF#000000##FFFFFF
##2F07291.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07142A
Deuteranopia (green-blind)
#141A28
Tritanopia (blue-blind)
#320A17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0729;
/* rgb */ color: rgb(47, 7, 41);
/* oklch */ color: oklch(22.0% 0.080 334.6);
Tailwind
colors: {
  custom: {
    50: '#694b62',
    500: '#2f0729',
    950: '#000000',
  },
}
SCSS
$custom: #2f0729;
$custom-light: #694b62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0729",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 309,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2198,
    "c": 0.07982,
    "h": 334.6
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#2F0729
secondary
#236F2E
accent
#F15337
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0729

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

Preview Lab → · Contrast checker → · Palette generator →

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