#2B0D3A#2B0D3A

#2B0D3A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.086 H 312.3°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#2B0D3A
RGBrgb(43, 13, 58)
HSLhsl(280, 63%, 14%)
HSVhsv(280, 78%, 23%)
CMYKcmyk(25.9%, 77.6%, 0%, 77.3%)
CIE-LABlab(9.85, 24.35, -22.55)
CIE-LCHlch(9.85, 33.19, 317.21°)
OKLaboklab(23.35% 0.0578 -0.0636)
OKLCHoklch(23.35% 0.086 312.3)
XYZxyz(1.9038, 1.1070, 4.1155)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D3A #1C3A0D
analogous
#150D3A #2B0D3A #3A0D33
triadic
#2B0D3A #3A2B0D #0D3A2B
tetradic
#2B0D3A #3A150D #1C3A0D #0D333A
square
#2B0D3A #3A150D #1C3A0D #0D333A
split-complementary
#2B0D3A #333A0D #0D3A15
monochromatic
#130619 #130619 #2B0D3A #50186C #75239E

Accessibility & contrast

On white

17.19
#2B0D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0D3A
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D3A#FFFFFF#000000##FFFFFF
##2B0D3A1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#091C39
Tritanopia (blue-blind)
#291622
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0d3a;
/* rgb */ color: rgb(43, 13, 58);
/* oklch */ color: oklch(23.4% 0.086 312.3);
Tailwind
colors: {
  custom: {
    50: '#664e70',
    500: '#2b0d3a',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d3a;
$custom-light: #664e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d3a",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 280,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23351,
    "c": 0.0859,
    "h": 312.3
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#2B0D3A
secondary
#45762D
accent
#E64178
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B0D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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