#2F062D#2F062D

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

Color values

HEX#2F062D
RGBrgb(47, 6, 45)
HSLhsl(303, 77%, 10%)
HSVhsv(303, 87%, 18%)
CMYKcmyk(0%, 87.2%, 4.3%, 81.6%)
CIE-LABlab(8.34, 26.12, -15.40)
CIE-LCHlch(8.34, 30.32, 329.47°)
OKLaboklab(22.11% 0.074 -0.0425)
OKLCHoklch(22.11% 0.085 330.1)
XYZxyz(1.7111, 0.9242, 2.5704)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F062D #062F08
analogous
#1C062F #2F062D #2F0618
triadic
#2F062D #2D2F06 #062D2F
tetradic
#2F062D #2F1C06 #062F08 #06182F
square
#2F062D #2F1C06 #062F08 #06182F
split-complementary
#2F062D #182F06 #062F1C
monochromatic
#1B031A #1B031A #2F062D #650D61 #9C1495

Accessibility & contrast

On white

17.72
#2F062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F062D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F062D
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F062D#FFFFFF#000000##FFFFFF
##2F062D1.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#121A2C
Tritanopia (blue-blind)
#310B18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f062d;
/* rgb */ color: rgb(47, 6, 45);
/* oklch */ color: oklch(22.1% 0.085 330.1);
Tailwind
colors: {
  custom: {
    50: '#694a66',
    500: '#2f062d',
    950: '#000000',
  },
}
SCSS
$custom: #2f062d;
$custom-light: #694a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f062d",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 302.927,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22112,
    "c": 0.08533,
    "h": 330.1
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#2F062D
secondary
#217025
accent
#F43D34
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F062D

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

Preview Lab → · Contrast checker → · Palette generator →

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