#2F0B32#2F0B32

#2F0B32 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.082 H 324.6°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2F0B32
RGBrgb(47, 11, 50)
HSLhsl(295, 64%, 12%)
HSVhsv(295, 78%, 20%)
CMYKcmyk(6%, 78%, 0%, 80.4%)
CIE-LABlab(9.59, 24.60, -17.11)
CIE-LCHlch(9.59, 29.97, 325.18°)
OKLaboklab(23.12% 0.0669 -0.0475)
OKLCHoklch(23.12% 0.082 324.6)
XYZxyz(1.8676, 1.0741, 3.1259)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B32 #0E320B
analogous
#1C0B32 #2F0B32 #320B22
triadic
#2F0B32 #322F0B #0B322F
tetradic
#2F0B32 #321C0B #0E320B #0B2232
square
#2F0B32 #321C0B #0E320B #0B2232
split-complementary
#2F0B32 #22320B #0B321C
monochromatic
#180619 #180619 #2F0B32 #5E1664 #8D2196

Accessibility & contrast

On white

17.29
#2F0B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B32
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B32#FFFFFF#000000##FFFFFF
##2F0B321.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041833
Deuteranopia (green-blind)
#121C31
Tritanopia (blue-blind)
#30111D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0b32;
/* rgb */ color: rgb(47, 11, 50);
/* oklch */ color: oklch(23.1% 0.082 324.6);
Tailwind
colors: {
  custom: {
    50: '#694d6a',
    500: '#2f0b32',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b32;
$custom-light: #694d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b32",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 295.385,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23122,
    "c": 0.08203,
    "h": 324.6
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#2F0B32
secondary
#2F6F2A
accent
#E7414E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0B32

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

Preview Lab → · Contrast checker → · Palette generator →

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