#2F072D#2F072D

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

Color values

HEX#2F072D
RGBrgb(47, 7, 45)
HSLhsl(303, 74%, 11%)
HSVhsv(303, 85%, 18%)
CMYKcmyk(0%, 85.1%, 4.3%, 81.6%)
CIE-LABlab(8.53, 25.58, -15.10)
CIE-LCHlch(8.53, 29.70, 329.44°)
OKLaboklab(22.25% 0.0724 -0.0417)
OKLCHoklch(22.25% 0.084 330.1)
XYZxyz(1.7219, 0.9459, 2.5740)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F072D #072F09
analogous
#1D072F #2F072D #2F0719
triadic
#2F072D #2D2F07 #072D2F
tetradic
#2F072D #2F1D07 #072F09 #07192F
square
#2F072D #2F1D07 #072F09 #07192F
split-complementary
#2F072D #192F07 #072F1D
monochromatic
#1B0419 #1B0419 #2F072D #640F60 #9A1793

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F072D#FFFFFF#000000##FFFFFF
##2F072D1.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)
#04152E
Deuteranopia (green-blind)
#131A2C
Tritanopia (blue-blind)
#310C19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f072d;
/* rgb */ color: rgb(47, 7, 45);
/* oklch */ color: oklch(22.2% 0.084 330.1);
Tailwind
colors: {
  custom: {
    50: '#694b66',
    500: '#2f072d',
    950: '#000000',
  },
}
SCSS
$custom: #2f072d;
$custom-light: #694b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f072d",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 303,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22248,
    "c": 0.08356,
    "h": 330.1
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#2F072D
secondary
#236F27
accent
#F14037
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F072D

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

Preview Lab → · Contrast checker → · Palette generator →

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