#2F092A#2F092A

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

Color values

HEX#2F092A
RGBrgb(47, 9, 42)
HSLhsl(308, 68%, 11%)
HSVhsv(308, 81%, 18%)
CMYKcmyk(0%, 80.9%, 10.6%, 81.6%)
CIE-LABlab(8.71, 23.93, -12.58)
CIE-LCHlch(8.71, 27.03, 332.27°)
OKLaboklab(22.32% 0.0691 -0.0344)
OKLCHoklch(22.32% 0.077 333.5)
XYZxyz(1.6879, 0.9670, 2.2878)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F092A #092F0E
analogous
#21092F #2F092A #2F0917
triadic
#2F092A #2A2F09 #092A2F
tetradic
#2F092A #2F2109 #092F0E #09172F
square
#2F092A #2F2109 #092F0E #09172F
split-complementary
#2F092A #172F09 #092F21
monochromatic
#1A0517 #1A0517 #2F092A #621358 #961D86

Accessibility & contrast

On white

17.60
#2F092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F092A
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F092A#FFFFFF#000000##FFFFFF
##2F092A1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f092a;
/* rgb */ color: rgb(47, 9, 42);
/* oklch */ color: oklch(22.3% 0.077 333.5);
Tailwind
colors: {
  custom: {
    50: '#694c63',
    500: '#2f092a',
    950: '#000000',
  },
}
SCSS
$custom: #2f092a;
$custom-light: #694c63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f092a",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 307.895,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22317,
    "c": 0.07723,
    "h": 333.5
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#2F092A
secondary
#276D30
accent
#EB543D
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F092A

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

Preview Lab → · Contrast checker → · Palette generator →

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