#2B0B37#2B0B37

#2B0B37 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.085 H 315.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2B0B37
RGBrgb(43, 11, 55)
HSLhsl(284, 67%, 13%)
HSVhsv(284, 80%, 22%)
CMYKcmyk(21.8%, 80%, 0%, 78.4%)
CIE-LABlab(9.23, 24.66, -21.38)
CIE-LCHlch(9.23, 32.64, 319.07°)
OKLaboklab(22.83% 0.0608 -0.0601)
OKLCHoklch(22.83% 0.085 315.3)
XYZxyz(1.8054, 1.0288, 3.7172)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B37 #17370B
analogous
#150B37 #2B0B37 #370B2D
triadic
#2B0B37 #372B0B #0B372B
tetradic
#2B0B37 #37150B #17370B #0B2D37
square
#2B0B37 #37150B #17370B #0B2D37
split-complementary
#2B0B37 #2D370B #0B3715
monochromatic
#14051A #14051A #2B0B37 #53156A #7B1F9D

Accessibility & contrast

On white

17.42
#2B0B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0B37
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B37#FFFFFF#000000##FFFFFF
##2B0B371.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#0A1B36
Tritanopia (blue-blind)
#2A141F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0b37;
/* rgb */ color: rgb(43, 11, 55);
/* oklch */ color: oklch(22.8% 0.085 315.3);
Tailwind
colors: {
  custom: {
    50: '#664d6e',
    500: '#2b0b37',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b37;
$custom-light: #664d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b37",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 283.636,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22829,
    "c": 0.08549,
    "h": 315.3
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#2B0B37
secondary
#3E742A
accent
#EA3E6D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0B37

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

Preview Lab → · Contrast checker → · Palette generator →

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