#2B0F28#2B0F28

#2B0F28 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.061 H 331.6°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#2B0F28
RGBrgb(43, 15, 40)
HSLhsl(306, 48%, 11%)
HSVhsv(306, 65%, 17%)
CMYKcmyk(0%, 65.1%, 7%, 83.1%)
CIE-LABlab(9.06, 18.77, -10.60)
CIE-LCHlch(9.06, 21.56, 330.56°)
OKLaboklab(22.38% 0.0535 -0.0289)
OKLCHoklch(22.38% 0.061 331.6)
XYZxyz(1.5501, 1.0085, 2.1201)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F28 #0F2B12
analogous
#200F2B #2B0F28 #2B0F1A
triadic
#2B0F28 #282B0F #0F282B
tetradic
#2B0F28 #2B200F #0F2B12 #0F1A2B
square
#2B0F28 #2B200F #0F2B12 #0F1A2B
split-complementary
#2B0F28 #1A2B0F #0F2B20
monochromatic
#170815 #170815 #2B0F28 #581F52 #862F7C

Accessibility & contrast

On white

17.48
#2B0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F28
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F28#FFFFFF#000000##FFFFFF
##2B0F281.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1729
Deuteranopia (green-blind)
#161B27
Tritanopia (blue-blind)
#2D1119
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0f28;
/* rgb */ color: rgb(43, 15, 40);
/* oklch */ color: oklch(22.4% 0.061 331.6);
Tailwind
colors: {
  custom: {
    50: '#654f62',
    500: '#2b0f28',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f28;
$custom-light: #654f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f28",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 306.429,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22381,
    "c": 0.06078,
    "h": 331.6
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#2B0F28
secondary
#326437
accent
#D85F50
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2B0F28

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

Preview Lab → · Contrast checker → · Palette generator →

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