#2F0B2F#2F0B2F

#2F0B2F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.079 H 327.8°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2F0B2F
RGBrgb(47, 11, 47)
HSLhsl(300, 62%, 11%)
HSVhsv(300, 77%, 18%)
CMYKcmyk(0%, 76.6%, 0%, 81.6%)
CIE-LABlab(9.39, 23.94, -15.23)
CIE-LCHlch(9.39, 28.38, 327.55°)
OKLaboklab(22.91% 0.0667 -0.0421)
OKLCHoklch(22.91% 0.079 327.8)
XYZxyz(1.8050, 1.0490, 2.7962)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B2F #0B2F0B
analogous
#1D0B2F #2F0B2F #2F0B1D
triadic
#2F0B2F #2F2F0B #0B2F2F
tetradic
#2F0B2F #2F1D0B #0B2F0B #0B1D2F
square
#2F0B2F #2F1D0B #0B2F0B #0B1D2F
split-complementary
#2F0B2F #1D2F0B #0B2F1D
monochromatic
#190619 #190619 #2F0B2F #611761 #922292

Accessibility & contrast

On white

17.36
#2F0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B2F
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B2F#FFFFFF#000000##FFFFFF
##2F0B2F1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071730
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#31101B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0b2f;
/* rgb */ color: rgb(47, 11, 47);
/* oklch */ color: oklch(22.9% 0.079 327.8);
Tailwind
colors: {
  custom: {
    50: '#694d67',
    500: '#2f0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b2f;
$custom-light: #694d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b2f",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22912,
    "c": 0.07887,
    "h": 327.8
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#2F0B2F
secondary
#2A6B2A
accent
#E54343
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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