#2F062C#2F062C

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

Color values

HEX#2F062C
RGBrgb(47, 6, 44)
HSLhsl(304, 77%, 10%)
HSVhsv(304, 87%, 18%)
CMYKcmyk(0%, 87.2%, 6.4%, 81.6%)
CIE-LABlab(8.28, 25.91, -14.76)
CIE-LCHlch(8.28, 29.82, 330.33°)
OKLaboklab(22.04% 0.074 -0.0407)
OKLCHoklch(22.04% 0.084 331.2)
XYZxyz(1.6920, 0.9166, 2.4702)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F062C #062F09
analogous
#1D062F #2F062C #2F0617
triadic
#2F062C #2C2F06 #062C2F
tetradic
#2F062C #2F1D06 #062F09 #06172F
square
#2F062C #2F1D06 #062F09 #06172F
split-complementary
#2F062C #172F06 #062F1D
monochromatic
#1B0319 #1B0319 #2F062C #650D5F #9C1492

Accessibility & contrast

On white

17.75
#2F062C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F062C
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F062C#FFFFFF#000000##FFFFFF
##2F062C1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142D
Deuteranopia (green-blind)
#121A2B
Tritanopia (blue-blind)
#310A18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f062c;
/* rgb */ color: rgb(47, 6, 44);
/* oklch */ color: oklch(22.0% 0.084 331.2);
Tailwind
colors: {
  custom: {
    50: '#694a65',
    500: '#2f062c',
    950: '#000000',
  },
}
SCSS
$custom: #2f062c;
$custom-light: #694a65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f062c",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 44
  },
  "hsl": {
    "h": 304.39,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22042,
    "c": 0.0844,
    "h": 331.2
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#2F062C
secondary
#217027
accent
#F44234
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2F062C

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

Preview Lab → · Contrast checker → · Palette generator →

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