#2B0D2F#2B0D2F

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

Color values

HEX#2B0D2F
RGBrgb(43, 13, 47)
HSLhsl(293, 57%, 12%)
HSVhsv(293, 72%, 18%)
CMYKcmyk(8.5%, 72.3%, 0%, 81.6%)
CIE-LABlab(9.05, 21.58, -15.82)
CIE-LCHlch(9.05, 26.76, 323.76°)
OKLaboklab(22.51% 0.0579 -0.0439)
OKLCHoklch(22.51% 0.073 322.8)
XYZxyz(1.6532, 1.0068, 2.7960)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D2F #112F0D
analogous
#1A0D2F #2B0D2F #2F0D22
triadic
#2B0D2F #2F2B0D #0D2F2B
tetradic
#2B0D2F #2F1A0D #112F0D #0D222F
square
#2B0D2F #2F1A0D #112F0D #0D222F
split-complementary
#2B0D2F #222F0D #0D2F1A
monochromatic
#160718 #160718 #2B0D2F #571A5F #83288F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B0D2F#FFFFFF#000000##FFFFFF
##2B0D2F1.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)
#071730
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#2C121C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0d2f;
/* rgb */ color: rgb(43, 13, 47);
/* oklch */ color: oklch(22.5% 0.073 322.8);
Tailwind
colors: {
  custom: {
    50: '#664e67',
    500: '#2b0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d2f;
$custom-light: #664e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d2f",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 292.941,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22511,
    "c": 0.07268,
    "h": 322.8
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#2B0D2F
secondary
#356A2E
accent
#E0485A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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