#2B0F2E#2B0F2E

#2B0F2E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.8% C 0.068 H 323.7°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#2B0F2E
RGBrgb(43, 15, 46)
HSLhsl(294, 51%, 12%)
HSVhsv(294, 67%, 18%)
CMYKcmyk(6.5%, 67.4%, 0%, 82%)
CIE-LABlab(9.42, 20.15, -14.49)
CIE-LCHlch(9.42, 24.82, 324.28°)
OKLaboklab(22.76% 0.0545 -0.0401)
OKLCHoklch(22.76% 0.068 323.7)
XYZxyz(1.6602, 1.0526, 2.7000)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F2E #122E0F
analogous
#1C0F2E #2B0F2E #2E0F22
triadic
#2B0F2E #2E2B0F #0F2E2B
tetradic
#2B0F2E #2E1C0F #122E0F #0F222E
square
#2B0F2E #2E1C0F #122E0F #0F222E
split-complementary
#2B0F2E #222E0F #0F2E1C
monochromatic
#160817 #160817 #2B0F2E #561E5C #812D8A

Accessibility & contrast

On white

17.35
#2B0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F2E
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F2E#FFFFFF#000000##FFFFFF
##2B0F2E1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#141B2D
Tritanopia (blue-blind)
#2C131C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0f2e;
/* rgb */ color: rgb(43, 15, 46);
/* oklch */ color: oklch(22.8% 0.068 323.7);
Tailwind
colors: {
  custom: {
    50: '#654f67',
    500: '#2b0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f2e;
$custom-light: #654f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f2e",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 294.194,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22763,
    "c": 0.06768,
    "h": 323.7
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#2B0F2E
secondary
#366831
accent
#DA4D5B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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