#2F062A#2F062A

#2F062A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.083 H 333.4°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#2F062A
RGBrgb(47, 6, 42)
HSLhsl(307, 77%, 10%)
HSVhsv(307, 87%, 18%)
CMYKcmyk(0%, 87.2%, 10.6%, 81.6%)
CIE-LABlab(8.15, 25.53, -13.47)
CIE-LCHlch(8.15, 28.86, 332.18°)
OKLaboklab(21.91% 0.0738 -0.0369)
OKLCHoklch(21.91% 0.083 333.4)
XYZxyz(1.6553, 0.9019, 2.2769)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F062A #062F0B
analogous
#1F062F #2F062A #2F0615
triadic
#2F062A #2A2F06 #062A2F
tetradic
#2F062A #2F1F06 #062F0B #06152F
square
#2F062A #2F1F06 #062F0B #06152F
split-complementary
#2F062A #152F06 #062F1F
monochromatic
#1B0318 #1B0318 #2F062A #650D5A #9C148B

Accessibility & contrast

On white

17.79
#2F062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F062A
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F062A#FFFFFF#000000##FFFFFF
##2F062A1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142B
Deuteranopia (green-blind)
#131A29
Tritanopia (blue-blind)
#320A17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f062a;
/* rgb */ color: rgb(47, 6, 42);
/* oklch */ color: oklch(21.9% 0.083 333.4);
Tailwind
colors: {
  custom: {
    50: '#694a63',
    500: '#2f062a',
    950: '#000000',
  },
}
SCSS
$custom: #2f062a;
$custom-light: #694a63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f062a",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 307.317,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21907,
    "c": 0.08256,
    "h": 333.4
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#2F062A
secondary
#21702B
accent
#F44B34
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F062A

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

Preview Lab → · Contrast checker → · Palette generator →

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