#2F062B#2F062B

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

Color values

HEX#2F062B
RGBrgb(47, 6, 43)
HSLhsl(306, 77%, 10%)
HSVhsv(306, 87%, 18%)
CMYKcmyk(0%, 87.2%, 8.5%, 81.6%)
CIE-LABlab(8.21, 25.72, -14.12)
CIE-LCHlch(8.21, 29.34, 331.24°)
OKLaboklab(21.97% 0.0739 -0.0388)
OKLCHoklch(21.97% 0.083 332.3)
XYZxyz(1.6735, 0.9091, 2.3724)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F062B #062F0A
analogous
#1E062F #2F062B #2F0616
triadic
#2F062B #2B2F06 #062B2F
tetradic
#2F062B #2F1E06 #062F0A #06162F
square
#2F062B #2F1E06 #062F0A #06162F
split-complementary
#2F062B #162F06 #062F1E
monochromatic
#1B0319 #1B0319 #2F062B #650D5D #9C148E

Accessibility & contrast

On white

17.77
#2F062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F062B
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F062B#FFFFFF#000000##FFFFFF
##2F062B1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142C
Deuteranopia (green-blind)
#131A2A
Tritanopia (blue-blind)
#310A17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f062b;
/* rgb */ color: rgb(47, 6, 43);
/* oklch */ color: oklch(22.0% 0.083 332.3);
Tailwind
colors: {
  custom: {
    50: '#694a64',
    500: '#2f062b',
    950: '#000000',
  },
}
SCSS
$custom: #2f062b;
$custom-light: #694a64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f062b",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 305.854,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21974,
    "c": 0.08347,
    "h": 332.3
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#2F062B
secondary
#217029
accent
#F44734
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2F062B

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

Preview Lab → · Contrast checker → · Palette generator →

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