#2F0B2B#2F0B2B

#2F0B2B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.075 H 332.4°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#2F0B2B
RGBrgb(47, 11, 43)
HSLhsl(307, 62%, 11%)
HSVhsv(307, 77%, 18%)
CMYKcmyk(0%, 76.6%, 8.5%, 81.6%)
CIE-LABlab(9.14, 23.10, -12.65)
CIE-LCHlch(9.14, 26.34, 331.29°)
OKLaboklab(22.65% 0.0663 -0.0346)
OKLCHoklch(22.65% 0.075 332.4)
XYZxyz(1.7280, 1.0182, 2.3906)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B2B #0B2F0F
analogous
#210B2F #2F0B2B #2F0B19
triadic
#2F0B2B #2B2F0B #0B2B2F
tetradic
#2F0B2B #2F210B #0B2F0F #0B192F
square
#2F0B2B #2F210B #0B2F0F #0B192F
split-complementary
#2F0B2B #192F0B #0B2F21
monochromatic
#190617 #190617 #2F0B2B #611758 #922286

Accessibility & contrast

On white

17.45
#2F0B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0B2B
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B2B#FFFFFF#000000##FFFFFF
##2F0B2B1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162C
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#310E19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0b2b;
/* rgb */ color: rgb(47, 11, 43);
/* oklch */ color: oklch(22.6% 0.075 332.4);
Tailwind
colors: {
  custom: {
    50: '#694d64',
    500: '#2f0b2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b2b;
$custom-light: #694d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b2b",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 306.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22648,
    "c": 0.07479,
    "h": 332.4
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#2F0B2B
secondary
#2A6B32
accent
#E55543
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2F0B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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