#2B0D39#2B0D39

#2B0D39 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.085 H 313.1°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2B0D39
RGBrgb(43, 13, 57)
HSLhsl(281, 63%, 14%)
HSVhsv(281, 77%, 22%)
CMYKcmyk(24.6%, 77.2%, 0%, 77.6%)
CIE-LABlab(9.77, 24.09, -21.95)
CIE-LCHlch(9.77, 32.59, 317.66°)
OKLaboklab(23.27% 0.0579 -0.0618)
OKLCHoklch(23.27% 0.085 313.1)
XYZxyz(1.8786, 1.0969, 3.9829)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D39 #1B390D
analogous
#150D39 #2B0D39 #390D31
triadic
#2B0D39 #392B0D #0D392B
tetradic
#2B0D39 #39150D #1B390D #0D3139
square
#2B0D39 #39150D #1B390D #0D3139
split-complementary
#2B0D39 #31390D #0D3915
monochromatic
#130619 #130619 #2B0D39 #51186B #76249D

Accessibility & contrast

On white

17.22
#2B0D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D39
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D39#FFFFFF#000000##FFFFFF
##2B0D391.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#0A1C38
Tritanopia (blue-blind)
#2A1621
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0d39;
/* rgb */ color: rgb(43, 13, 57);
/* oklch */ color: oklch(23.3% 0.085 313.1);
Tailwind
colors: {
  custom: {
    50: '#664e70',
    500: '#2b0d39',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d39;
$custom-light: #664e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d39",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 280.909,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2327,
    "c": 0.08468,
    "h": 313.1
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#2B0D39
secondary
#44742D
accent
#E64276
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B0D39

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

Preview Lab → · Contrast checker → · Palette generator →

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