#2F072F#2F072F

#2F072F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.086 H 328.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2F072F
RGBrgb(47, 7, 47)
HSLhsl(300, 74%, 11%)
HSVhsv(300, 85%, 18%)
CMYKcmyk(0%, 85.1%, 0%, 81.6%)
CIE-LABlab(8.67, 25.98, -16.37)
CIE-LCHlch(8.67, 30.71, 327.79°)
OKLaboklab(22.39% 0.0725 -0.0453)
OKLCHoklch(22.39% 0.086 328)
XYZxyz(1.7613, 0.9617, 2.7816)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F072F #072F07
analogous
#1B072F #2F072F #2F071B
triadic
#2F072F #2F2F07 #072F2F
tetradic
#2F072F #2F1B07 #072F07 #071B2F
square
#2F072F #2F1B07 #072F07 #071B2F
split-complementary
#2F072F #1B2F07 #072F1B
monochromatic
#1B041B #1B041B #2F072F #640F64 #9A179A

Accessibility & contrast

On white

17.61
#2F072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F072F
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F072F#FFFFFF#000000##FFFFFF
##2F072F1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#111B2E
Tritanopia (blue-blind)
#310D1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f072f;
/* rgb */ color: rgb(47, 7, 47);
/* oklch */ color: oklch(22.4% 0.086 328.0);
Tailwind
colors: {
  custom: {
    50: '#694b67',
    500: '#2f072f',
    950: '#000000',
  },
}
SCSS
$custom: #2f072f;
$custom-light: #694b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f072f",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22389,
    "c": 0.0855,
    "h": 328
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#2F072F
secondary
#236F23
accent
#F13737
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F072F

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

Preview Lab → · Contrast checker → · Palette generator →

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