#2F0829#2F0829

#2F0829 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.078 H 334.7°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2F0829
RGBrgb(47, 8, 41)
HSLhsl(309, 71%, 11%)
HSVhsv(309, 83%, 18%)
CMYKcmyk(0%, 83%, 12.8%, 81.6%)
CIE-LABlab(8.47, 24.25, -12.22)
CIE-LCHlch(8.47, 27.16, 333.26°)
OKLaboklab(22.12% 0.0705 -0.0334)
OKLCHoklch(22.12% 0.078 334.7)
XYZxyz(1.6594, 0.9382, 2.1911)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0829 #082F0E
analogous
#21082F #2F0829 #2F0815
triadic
#2F0829 #292F08 #08292F
tetradic
#2F0829 #2F2108 #082F0E #08152F
square
#2F0829 #2F2108 #082F0E #08152F
split-complementary
#2F0829 #152F08 #082F21
monochromatic
#1A0417 #1A0417 #2F0829 #631157 #981A84

Accessibility & contrast

On white

17.68
#2F0829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0829
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0829#FFFFFF#000000##FFFFFF
##2F08291.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08152A
Deuteranopia (green-blind)
#151B28
Tritanopia (blue-blind)
#320B17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0829;
/* rgb */ color: rgb(47, 8, 41);
/* oklch */ color: oklch(22.1% 0.078 334.7);
Tailwind
colors: {
  custom: {
    50: '#694b62',
    500: '#2f0829',
    950: '#000000',
  },
}
SCSS
$custom: #2f0829;
$custom-light: #694b62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0829",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 41
  },
  "hsl": {
    "h": 309.231,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22117,
    "c": 0.07803,
    "h": 334.7
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#2F0829
secondary
#256E30
accent
#EE563A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0829

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

Preview Lab → · Contrast checker → · Palette generator →

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