#2F032D#2F032D

#2F032D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.091 H 330.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#2F032D
RGBrgb(47, 3, 45)
HSLhsl(303, 88%, 10%)
HSVhsv(303, 94%, 18%)
CMYKcmyk(0%, 93.6%, 4.3%, 81.6%)
CIE-LABlab(7.76, 27.79, -16.33)
CIE-LCHlch(7.76, 32.23, 329.57°)
OKLaboklab(21.69% 0.0788 -0.0452)
OKLCHoklch(21.69% 0.091 330.2)
XYZxyz(1.6785, 0.8591, 2.5595)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F032D #032F05
analogous
#1B032F #2F032D #2F0317
triadic
#2F032D #2D2F03 #032D2F
tetradic
#2F032D #2F1B03 #032F05 #03172F
square
#2F032D #2F1B03 #032F05 #03172F
split-complementary
#2F032D #172F03 #032F1B
monochromatic
#1D021C #1D021C #2F032D #690764 #A20A9B

Accessibility & contrast

On white

17.92
#2F032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F032D
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F032D#FFFFFF#000000##FFFFFF
##2F032D1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#10192C
Tritanopia (blue-blind)
#310817
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f032d;
/* rgb */ color: rgb(47, 3, 45);
/* oklch */ color: oklch(21.7% 0.091 330.2);
Tailwind
colors: {
  custom: {
    50: '#6a4966',
    500: '#2f032d',
    950: '#000000',
  },
}
SCSS
$custom: #2f032d;
$custom-light: #6a4966;
$custom-dark: #000000;
JSON
{
  "hex": "#2f032d",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 302.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21694,
    "c": 0.09086,
    "h": 330.2
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#2F032D
secondary
#1B731F
accent
#FE332A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F032D

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

Preview Lab → · Contrast checker → · Palette generator →

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