#2F0B2C#2F0B2C

#2F0B2C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.076 H 331.2°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2F0B2C
RGBrgb(47, 11, 44)
HSLhsl(305, 62%, 11%)
HSVhsv(305, 77%, 18%)
CMYKcmyk(0%, 76.6%, 6.4%, 81.6%)
CIE-LABlab(9.20, 23.31, -13.30)
CIE-LCHlch(9.20, 26.84, 330.29°)
OKLaboklab(22.71% 0.0664 -0.0365)
OKLCHoklch(22.71% 0.076 331.2)
XYZxyz(1.7466, 1.0257, 2.4884)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B2C #0B2F0E
analogous
#200B2F #2F0B2C #2F0B1A
triadic
#2F0B2C #2C2F0B #0B2C2F
tetradic
#2F0B2C #2F200B #0B2F0E #0B1A2F
square
#2F0B2C #2F200B #0B2F0E #0B1A2F
split-complementary
#2F0B2C #1A2F0B #0B2F20
monochromatic
#190617 #190617 #2F0B2C #61175A #922289

Accessibility & contrast

On white

17.42
#2F0B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B2C
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B2C#FFFFFF#000000##FFFFFF
##2F0B2C1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172D
Deuteranopia (green-blind)
#151C2B
Tritanopia (blue-blind)
#310F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0b2c;
/* rgb */ color: rgb(47, 11, 44);
/* oklch */ color: oklch(22.7% 0.076 331.2);
Tailwind
colors: {
  custom: {
    50: '#694d65',
    500: '#2f0b2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b2c;
$custom-light: #694d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b2c",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 305,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22712,
    "c": 0.07579,
    "h": 331.2
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#2F0B2C
secondary
#2A6B30
accent
#E55043
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2F0B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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