#2B0B2F#2B0B2F

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

Color values

HEX#2B0B2F
RGBrgb(43, 11, 47)
HSLhsl(293, 62%, 11%)
HSVhsv(293, 77%, 18%)
CMYKcmyk(8.5%, 76.6%, 0%, 81.6%)
CIE-LABlab(8.64, 22.71, -16.47)
CIE-LCHlch(8.64, 28.05, 324.05°)
OKLaboklab(22.21% 0.061 -0.0458)
OKLCHoklch(22.21% 0.076 323.1)
XYZxyz(1.6290, 0.9583, 2.7879)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B2F #0F2F0B
analogous
#190B2F #2B0B2F #2F0B21
triadic
#2B0B2F #2F2B0B #0B2F2B
tetradic
#2B0B2F #2F190B #0F2F0B #0B212F
square
#2B0B2F #2F190B #0F2F0B #0B212F
split-complementary
#2B0B2F #212F0B #0B2F19
monochromatic
#170619 #170619 #2B0B2F #581761 #862292

Accessibility & contrast

On white

17.62
#2B0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B0B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0B2F
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B2F#FFFFFF#000000##FFFFFF
##2B0B2F1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051630
Deuteranopia (green-blind)
#101A2E
Tritanopia (blue-blind)
#2C111B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0b2f;
/* rgb */ color: rgb(43, 11, 47);
/* oklch */ color: oklch(22.2% 0.076 323.1);
Tailwind
colors: {
  custom: {
    50: '#664c67',
    500: '#2b0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b2f;
$custom-light: #664c67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b2f",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 293.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22214,
    "c": 0.07626,
    "h": 323.1
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#2B0B2F
secondary
#326B2A
accent
#E54355
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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