#2F082B#2F082B

#2F082B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.080 H 332.3°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2F082B
RGBrgb(47, 8, 43)
HSLhsl(306, 71%, 11%)
HSVhsv(306, 83%, 18%)
CMYKcmyk(0%, 83%, 8.5%, 81.6%)
CIE-LABlab(8.59, 24.64, -13.52)
CIE-LCHlch(8.59, 28.11, 331.25°)
OKLaboklab(22.25% 0.0708 -0.0371)
OKLCHoklch(22.25% 0.08 332.3)
XYZxyz(1.6952, 0.9526, 2.3796)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F082B #082F0C
analogous
#1F082F #2F082B #2F0817
triadic
#2F082B #2B2F08 #082B2F
tetradic
#2F082B #2F1F08 #082F0C #08172F
square
#2F082B #2F1F08 #082F0C #08172F
split-complementary
#2F082B #172F08 #082F1F
monochromatic
#1A0418 #1A0418 #2F082B #63115B #981A8B

Accessibility & contrast

On white

17.64
#2F082B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F082B
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F082B#FFFFFF#000000##FFFFFF
##2F082B1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06152C
Deuteranopia (green-blind)
#141B2A
Tritanopia (blue-blind)
#310C18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f082b;
/* rgb */ color: rgb(47, 8, 43);
/* oklch */ color: oklch(22.2% 0.080 332.3);
Tailwind
colors: {
  custom: {
    50: '#694b64',
    500: '#2f082b',
    950: '#000000',
  },
}
SCSS
$custom: #2f082b;
$custom-light: #694b64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f082b",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 43
  },
  "hsl": {
    "h": 306.154,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22247,
    "c": 0.07991,
    "h": 332.3
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#2F082B
secondary
#256E2C
accent
#EE4D3A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2F082B

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

Preview Lab → · Contrast checker → · Palette generator →

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