#2F0B2E#2F0B2E

#2F0B2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.078 H 328.9°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#2F0B2E
RGBrgb(47, 11, 46)
HSLhsl(302, 62%, 11%)
HSVhsv(302, 77%, 18%)
CMYKcmyk(0%, 76.6%, 2.1%, 81.6%)
CIE-LABlab(9.33, 23.73, -14.59)
CIE-LCHlch(9.33, 27.85, 328.42°)
OKLaboklab(22.84% 0.0666 -0.0402)
OKLCHoklch(22.84% 0.078 328.9)
XYZxyz(1.7851, 1.0411, 2.6912)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B2E #0B2F0C
analogous
#1E0B2F #2F0B2E #2F0B1C
triadic
#2F0B2E #2E2F0B #0B2E2F
tetradic
#2F0B2E #2F1E0B #0B2F0C #0B1C2F
square
#2F0B2E #2F1E0B #0B2F0C #0B1C2F
split-complementary
#2F0B2E #1C2F0B #0B2F1E
monochromatic
#190618 #190618 #2F0B2E #61175F #92228F

Accessibility & contrast

On white

17.38
#2F0B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B2E
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B2E#FFFFFF#000000##FFFFFF
##2F0B2E1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#141C2D
Tritanopia (blue-blind)
#310F1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0b2e;
/* rgb */ color: rgb(47, 11, 46);
/* oklch */ color: oklch(22.8% 0.078 328.9);
Tailwind
colors: {
  custom: {
    50: '#694d67',
    500: '#2f0b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b2e;
$custom-light: #694d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b2e",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 301.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22844,
    "c": 0.07782,
    "h": 328.9
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#2F0B2E
secondary
#2A6B2C
accent
#E54743
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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