#2F0D2A#2F0D2A

#2F0D2A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.070 H 333.8°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2F0D2A
RGBrgb(47, 13, 42)
HSLhsl(309, 57%, 12%)
HSVhsv(309, 72%, 18%)
CMYKcmyk(0%, 72.3%, 10.6%, 81.6%)
CIE-LABlab(9.48, 21.81, -11.39)
CIE-LCHlch(9.48, 24.60, 332.44°)
OKLaboklab(22.87% 0.063 -0.031)
OKLCHoklch(22.87% 0.07 333.8)
XYZxyz(1.7341, 1.0595, 2.3032)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D2A #0D2F12
analogous
#230D2F #2F0D2A #2F0D19
triadic
#2F0D2A #2A2F0D #0D2A2F
tetradic
#2F0D2A #2F230D #0D2F12 #0D192F
square
#2F0D2A #2F230D #0D2F12 #0D192F
split-complementary
#2F0D2A #192F0D #0D2F23
monochromatic
#180715 #180715 #2F0D2A #5F1A55 #8F2880

Accessibility & contrast

On white

17.33
#2F0D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D2A
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D2A#FFFFFF#000000##FFFFFF
##2F0D2A1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172B
Deuteranopia (green-blind)
#171C29
Tritanopia (blue-blind)
#310F19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0d2a;
/* rgb */ color: rgb(47, 13, 42);
/* oklch */ color: oklch(22.9% 0.070 333.8);
Tailwind
colors: {
  custom: {
    50: '#694e63',
    500: '#2f0d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d2a;
$custom-light: #694e63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d2a",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 308.824,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22873,
    "c": 0.0702,
    "h": 333.8
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#2F0D2A
secondary
#2E6A37
accent
#E05E48
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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