#2F052E#2F052E

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

Color values

HEX#2F052E
RGBrgb(47, 5, 46)
HSLhsl(301, 81%, 10%)
HSVhsv(301, 89%, 18%)
CMYKcmyk(0%, 89.4%, 2.1%, 81.6%)
CIE-LABlab(8.22, 26.86, -16.34)
CIE-LCHlch(8.22, 31.44, 328.69°)
OKLaboklab(22.05% 0.0756 -0.0452)
OKLCHoklch(22.05% 0.088 329.1)
XYZxyz(1.7197, 0.9103, 2.6694)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F052E #052F06
analogous
#1B052F #2F052E #2F0519
triadic
#2F052E #2E2F05 #052E2F
tetradic
#2F052E #2F1B05 #052F06 #05192F
square
#2F052E #2F1B05 #052F06 #05192F
split-complementary
#2F052E #192F05 #052F1B
monochromatic
#1C031B #1C031B #2F052E #660B64 #9E119A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F052E#FFFFFF#000000##FFFFFF
##2F052E1.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)
#01142F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#310B19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f052e;
/* rgb */ color: rgb(47, 5, 46);
/* oklch */ color: oklch(22.0% 0.088 329.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a67',
    500: '#2f052e',
    950: '#000000',
  },
}
SCSS
$custom: #2f052e;
$custom-light: #6a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f052e",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 301.429,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22047,
    "c": 0.08806,
    "h": 329.1
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#2F052E
secondary
#1F7121
accent
#F73531
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F052E

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

Preview Lab → · Contrast checker → · Palette generator →

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