#2F082A#2F082A

#2F082A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.079 H 333.5°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#2F082A
RGBrgb(47, 8, 42)
HSLhsl(308, 71%, 11%)
HSVhsv(308, 83%, 18%)
CMYKcmyk(0%, 83%, 10.6%, 81.6%)
CIE-LABlab(8.53, 24.45, -12.87)
CIE-LCHlch(8.53, 27.63, 332.24°)
OKLaboklab(22.18% 0.0707 -0.0352)
OKLCHoklch(22.18% 0.079 333.5)
XYZxyz(1.6771, 0.9453, 2.2842)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F082A #082F0D
analogous
#20082F #2F082A #2F0816
triadic
#2F082A #2A2F08 #082A2F
tetradic
#2F082A #2F2008 #082F0D #08162F
square
#2F082A #2F2008 #082F0D #08162F
split-complementary
#2F082A #162F08 #082F20
monochromatic
#1A0417 #1A0417 #2F082A #631159 #981A87

Accessibility & contrast

On white

17.66
#2F082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F082A
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F082A#FFFFFF#000000##FFFFFF
##2F082A1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07152B
Deuteranopia (green-blind)
#151B29
Tritanopia (blue-blind)
#320B18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f082a;
/* rgb */ color: rgb(47, 8, 42);
/* oklch */ color: oklch(22.2% 0.079 333.5);
Tailwind
colors: {
  custom: {
    50: '#694b63',
    500: '#2f082a',
    950: '#000000',
  },
}
SCSS
$custom: #2f082a;
$custom-light: #694b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f082a",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 307.692,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22182,
    "c": 0.07897,
    "h": 333.5
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#2F082A
secondary
#256E2E
accent
#EE513A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F082A

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

Preview Lab → · Contrast checker → · Palette generator →

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