#2F0929#2F0929

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

Color values

HEX#2F0929
RGBrgb(47, 9, 41)
HSLhsl(309, 68%, 11%)
HSVhsv(309, 81%, 18%)
CMYKcmyk(0%, 80.9%, 12.8%, 81.6%)
CIE-LABlab(8.65, 23.73, -11.92)
CIE-LCHlch(8.65, 26.56, 333.32°)
OKLaboklab(22.25% 0.069 -0.0325)
OKLCHoklch(22.25% 0.076 334.8)
XYZxyz(1.6702, 0.9599, 2.1947)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0929 #092F0F
analogous
#22092F #2F0929 #2F0916
triadic
#2F0929 #292F09 #09292F
tetradic
#2F0929 #2F2209 #092F0F #09162F
square
#2F0929 #2F2209 #092F0F #09162F
split-complementary
#2F0929 #162F09 #092F22
monochromatic
#1A0516 #1A0516 #2F0929 #621356 #961D83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F0929#FFFFFF#000000##FFFFFF
##2F09291.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)
#09152A
Deuteranopia (green-blind)
#151B28
Tritanopia (blue-blind)
#320C17
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0929;
/* rgb */ color: rgb(47, 9, 41);
/* oklch */ color: oklch(22.3% 0.076 334.8);
Tailwind
colors: {
  custom: {
    50: '#694c62',
    500: '#2f0929',
    950: '#000000',
  },
}
SCSS
$custom: #2f0929;
$custom-light: #694c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0929",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 41
  },
  "hsl": {
    "h": 309.474,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22253,
    "c": 0.07628,
    "h": 334.8
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#2F0929
secondary
#276D32
accent
#EB583D
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0929

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

Preview Lab → · Contrast checker → · Palette generator →

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