#2F0B36#2F0B36

#2F0B36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.086 H 320.7°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2F0B36
RGBrgb(47, 11, 54)
HSLhsl(290, 66%, 13%)
HSVhsv(290, 80%, 21%)
CMYKcmyk(13%, 79.6%, 0%, 78.8%)
CIE-LABlab(9.88, 25.52, -19.58)
CIE-LCHlch(9.88, 32.17, 322.50°)
OKLaboklab(23.42% 0.0668 -0.0547)
OKLCHoklch(23.42% 0.086 320.7)
XYZxyz(1.9577, 1.1101, 3.6005)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B36 #12360B
analogous
#1A0B36 #2F0B36 #360B27
triadic
#2F0B36 #362F0B #0B362F
tetradic
#2F0B36 #361A0B #12360B #0B2736
square
#2F0B36 #361A0B #12360B #0B2736
split-complementary
#2F0B36 #27360B #0B361A
monochromatic
#160519 #160519 #2F0B36 #5B1569 #88209C

Accessibility & contrast

On white

17.18
#2F0B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B36
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B36#FFFFFF#000000##FFFFFF
##2F0B361.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011937
Deuteranopia (green-blind)
#0F1D35
Tritanopia (blue-blind)
#2F131F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0b36;
/* rgb */ color: rgb(47, 11, 54);
/* oklch */ color: oklch(23.4% 0.086 320.7);
Tailwind
colors: {
  custom: {
    50: '#694d6d',
    500: '#2f0b36',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b36;
$custom-light: #694d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b36",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 290.233,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23417,
    "c": 0.08638,
    "h": 320.7
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#2F0B36
secondary
#36732A
accent
#E93F5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0B36

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

Preview Lab → · Contrast checker → · Palette generator →

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