#2B0B36#2B0B36

#2B0B36 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.084 H 316.2°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#2B0B36
RGBrgb(43, 11, 54)
HSLhsl(285, 66%, 13%)
HSVhsv(285, 80%, 21%)
CMYKcmyk(20.4%, 79.6%, 0%, 78.8%)
CIE-LABlab(9.15, 24.41, -20.78)
CIE-LCHlch(9.15, 32.06, 319.59°)
OKLaboklab(22.75% 0.0608 -0.0584)
OKLCHoklch(22.75% 0.084 316.2)
XYZxyz(1.7817, 1.0193, 3.5922)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B36 #16360B
analogous
#150B36 #2B0B36 #360B2B
triadic
#2B0B36 #362B0B #0B362B
tetradic
#2B0B36 #36150B #16360B #0B2B36
square
#2B0B36 #36150B #16360B #0B2B36
split-complementary
#2B0B36 #2B360B #0B3615
monochromatic
#140519 #140519 #2B0B36 #531569 #7C209C

Accessibility & contrast

On white

17.44
#2B0B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B36
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B36#FFFFFF#000000##FFFFFF
##2B0B361.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#0B1B35
Tritanopia (blue-blind)
#2A131F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0b36;
/* rgb */ color: rgb(43, 11, 54);
/* oklch */ color: oklch(22.7% 0.084 316.2);
Tailwind
colors: {
  custom: {
    50: '#664d6d',
    500: '#2b0b36',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b36;
$custom-light: #664d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b36",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 284.651,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22748,
    "c": 0.08431,
    "h": 316.2
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#2B0B36
secondary
#3D732A
accent
#E93F6A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0B36

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

Preview Lab → · Contrast checker → · Palette generator →

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