#2F0B34#2F0B34

#2F0B34 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.084 H 322.6°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2F0B34
RGBrgb(47, 11, 52)
HSLhsl(293, 65%, 12%)
HSVhsv(293, 79%, 20%)
CMYKcmyk(9.6%, 78.8%, 0%, 79.6%)
CIE-LABlab(9.73, 25.06, -18.35)
CIE-LCHlch(9.73, 31.06, 323.78°)
OKLaboklab(23.27% 0.0669 -0.0511)
OKLCHoklch(23.27% 0.084 322.6)
XYZxyz(1.9117, 1.0917, 3.3582)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B34 #10340B
analogous
#1B0B34 #2F0B34 #340B25
triadic
#2F0B34 #342F0B #0B342F
tetradic
#2F0B34 #341B0B #10340B #0B2534
square
#2F0B34 #341B0B #10340B #0B2534
split-complementary
#2F0B34 #25340B #0B341B
monochromatic
#170519 #170519 #2F0B34 #5D1667 #8A2099

Accessibility & contrast

On white

17.24
#2F0B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F0B34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0B34
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B34#FFFFFF#000000##FFFFFF
##2F0B341.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031835
Deuteranopia (green-blind)
#111C33
Tritanopia (blue-blind)
#30121E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0b34;
/* rgb */ color: rgb(47, 11, 52);
/* oklch */ color: oklch(23.3% 0.084 322.6);
Tailwind
colors: {
  custom: {
    50: '#694d6b',
    500: '#2f0b34',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b34;
$custom-light: #694d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b34",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 292.683,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23267,
    "c": 0.08419,
    "h": 322.6
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#2F0B34
secondary
#33712A
accent
#E84054
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0B34

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

Preview Lab → · Contrast checker → · Palette generator →

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