#2F0B2A#2F0B2A

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

Color values

HEX#2F0B2A
RGBrgb(47, 11, 42)
HSLhsl(308, 62%, 11%)
HSVhsv(308, 77%, 18%)
CMYKcmyk(0%, 76.6%, 10.6%, 81.6%)
CIE-LABlab(9.08, 22.90, -12.00)
CIE-LCHlch(9.08, 25.85, 332.34°)
OKLaboklab(22.59% 0.0661 -0.0328)
OKLCHoklch(22.59% 0.074 333.6)
XYZxyz(1.7099, 1.0110, 2.2951)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B2A #0B2F10
analogous
#220B2F #2F0B2A #2F0B18
triadic
#2F0B2A #2A2F0B #0B2A2F
tetradic
#2F0B2A #2F220B #0B2F10 #0B182F
square
#2F0B2A #2F220B #0B2F10 #0B182F
split-complementary
#2F0B2A #182F0B #0B2F22
monochromatic
#190616 #190616 #2F0B2A #611756 #922283

Accessibility & contrast

On white

17.47
#2F0B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B2A
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B2A#FFFFFF#000000##FFFFFF
##2F0B2A1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0b2a;
/* rgb */ color: rgb(47, 11, 42);
/* oklch */ color: oklch(22.6% 0.074 333.6);
Tailwind
colors: {
  custom: {
    50: '#694d63',
    500: '#2f0b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b2a;
$custom-light: #694d63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b2a",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 308.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22585,
    "c": 0.07381,
    "h": 333.6
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#2F0B2A
secondary
#2A6B33
accent
#E55943
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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