#2F032E#2F032E

#2F032E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.092 H 329.2°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2F032E
RGBrgb(47, 3, 46)
HSLhsl(301, 88%, 10%)
HSVhsv(301, 94%, 18%)
CMYKcmyk(0%, 93.6%, 2.1%, 81.6%)
CIE-LABlab(7.83, 27.99, -16.96)
CIE-LCHlch(7.83, 32.73, 328.79°)
OKLaboklab(21.77% 0.0788 -0.047)
OKLCHoklch(21.77% 0.092 329.2)
XYZxyz(1.6980, 0.8669, 2.6621)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F032E #032F04
analogous
#1A032F #2F032E #2F0318
triadic
#2F032E #2E2F03 #032E2F
tetradic
#2F032E #2F1A03 #032F04 #03182F
square
#2F032E #2F1A03 #032F04 #03182F
split-complementary
#2F032E #182F03 #032F1A
monochromatic
#1D021C #1D021C #2F032E #690766 #A20A9F

Accessibility & contrast

On white

17.90
#2F032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F032E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F032E
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F032E#FFFFFF#000000##FFFFFF
##2F032E1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#10192D
Tritanopia (blue-blind)
#310918
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f032e;
/* rgb */ color: rgb(47, 3, 46);
/* oklch */ color: oklch(21.8% 0.092 329.2);
Tailwind
colors: {
  custom: {
    50: '#6a4967',
    500: '#2f032e',
    950: '#000000',
  },
}
SCSS
$custom: #2f032e;
$custom-light: #6a4967;
$custom-dark: #000000;
JSON
{
  "hex": "#2f032e",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 301.364,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21768,
    "c": 0.09175,
    "h": 329.2
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#2F032E
secondary
#1B731D
accent
#FE2E2A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F032E

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

Preview Lab → · Contrast checker → · Palette generator →

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