#2F0B2D#2F0B2D

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

Color values

HEX#2F0B2D
RGBrgb(47, 11, 45)
HSLhsl(303, 62%, 11%)
HSVhsv(303, 77%, 18%)
CMYKcmyk(0%, 76.6%, 4.3%, 81.6%)
CIE-LABlab(9.27, 23.52, -13.95)
CIE-LCHlch(9.27, 27.34, 329.33°)
OKLaboklab(22.78% 0.0665 -0.0384)
OKLCHoklch(22.78% 0.077 330)
XYZxyz(1.7656, 1.0333, 2.5886)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B2D #0B2F0D
analogous
#1F0B2F #2F0B2D #2F0B1B
triadic
#2F0B2D #2D2F0B #0B2D2F
tetradic
#2F0B2D #2F1F0B #0B2F0D #0B1B2F
square
#2F0B2D #2F1F0B #0B2F0D #0B1B2F
split-complementary
#2F0B2D #1B2F0B #0B2F1F
monochromatic
#190618 #190618 #2F0B2D #61175C #92228C

Accessibility & contrast

On white

17.40
#2F0B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B2D
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B2D#FFFFFF#000000##FFFFFF
##2F0B2D1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#151C2C
Tritanopia (blue-blind)
#310F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0b2d;
/* rgb */ color: rgb(47, 11, 45);
/* oklch */ color: oklch(22.8% 0.077 330.0);
Tailwind
colors: {
  custom: {
    50: '#694d66',
    500: '#2f0b2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b2d;
$custom-light: #694d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b2d",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 303.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22778,
    "c": 0.0768,
    "h": 330
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#2F0B2D
secondary
#2A6B2E
accent
#E54C43
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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