#2F062E#2F062E

#2F062E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.086 H 329.1°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#2F062E
RGBrgb(47, 6, 46)
HSLhsl(301, 77%, 10%)
HSVhsv(301, 87%, 18%)
CMYKcmyk(0%, 87.2%, 2.1%, 81.6%)
CIE-LABlab(8.41, 26.31, -16.04)
CIE-LCHlch(8.41, 30.82, 328.64°)
OKLaboklab(22.18% 0.074 -0.0444)
OKLCHoklch(22.18% 0.086 329.1)
XYZxyz(1.7305, 0.9320, 2.6730)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F062E #062F07
analogous
#1B062F #2F062E #2F0619
triadic
#2F062E #2E2F06 #062E2F
tetradic
#2F062E #2F1B06 #062F07 #06192F
square
#2F062E #2F1B06 #062F07 #06192F
split-complementary
#2F062E #192F06 #062F1B
monochromatic
#1B031B #1B031B #2F062E #650D63 #9C1498

Accessibility & contrast

On white

17.70
#2F062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F062E
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F062E#FFFFFF#000000##FFFFFF
##2F062E1.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#310B19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f062e;
/* rgb */ color: rgb(47, 6, 46);
/* oklch */ color: oklch(22.2% 0.086 329.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a67',
    500: '#2f062e',
    950: '#000000',
  },
}
SCSS
$custom: #2f062e;
$custom-light: #6a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f062e",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 301.463,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22183,
    "c": 0.08628,
    "h": 329.1
  },
  "luminance": 0.00932
}

Semantic roles & 50–950 ramp

primary
#2F062E
secondary
#217023
accent
#F43934
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F062E

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

Preview Lab → · Contrast checker → · Palette generator →

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