#2F062F#2F062F

#2F062F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.087 H 328.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2F062F
RGBrgb(47, 6, 47)
HSLhsl(300, 77%, 10%)
HSVhsv(300, 87%, 18%)
CMYKcmyk(0%, 87.2%, 0%, 81.6%)
CIE-LABlab(8.48, 26.52, -16.67)
CIE-LCHlch(8.48, 31.32, 327.85°)
OKLaboklab(22.26% 0.074 -0.0462)
OKLCHoklch(22.26% 0.087 328)
XYZxyz(1.7505, 0.9400, 2.7780)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F062F #062F06
analogous
#1A062F #2F062F #2F061A
triadic
#2F062F #2F2F06 #062F2F
tetradic
#2F062F #2F1A06 #062F06 #061A2F
square
#2F062F #2F1A06 #062F06 #061A2F
split-complementary
#2F062F #1A2F06 #062F1A
monochromatic
#1B031B #1B031B #2F062F #650D65 #9C149C

Accessibility & contrast

On white

17.68
#2F062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F062F
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F062F#FFFFFF#000000##FFFFFF
##2F062F1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#310C1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f062f;
/* rgb */ color: rgb(47, 6, 47);
/* oklch */ color: oklch(22.3% 0.087 328.0);
Tailwind
colors: {
  custom: {
    50: '#6a4a67',
    500: '#2f062f',
    950: '#000000',
  },
}
SCSS
$custom: #2f062f;
$custom-light: #6a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f062f",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22255,
    "c": 0.08723,
    "h": 328
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#2F062F
secondary
#217021
accent
#F43434
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F062F

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

Preview Lab → · Contrast checker → · Palette generator →

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