#2B0937#2B0937

#2B0937 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.089 H 315.7°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#2B0937
RGBrgb(43, 9, 55)
HSLhsl(284, 72%, 13%)
HSVhsv(284, 84%, 22%)
CMYKcmyk(21.8%, 83.6%, 0%, 78.4%)
CIE-LABlab(8.87, 25.69, -21.97)
CIE-LCHlch(8.87, 33.80, 319.46°)
OKLaboklab(22.57% 0.0634 -0.0618)
OKLCHoklch(22.57% 0.089 315.7)
XYZxyz(1.7834, 0.9849, 3.7098)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0937 #153709
analogous
#140937 #2B0937 #37092C
triadic
#2B0937 #372B09 #09372B
tetradic
#2B0937 #371409 #153709 #092C37
square
#2B0937 #371409 #153709 #092C37
split-complementary
#2B0937 #2C3709 #093714
monochromatic
#15041A #15041A #2B0937 #54126C #7D1AA0

Accessibility & contrast

On white

17.54
#2B0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0937
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0937#FFFFFF#000000##FFFFFF
##2B09371.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#081A36
Tritanopia (blue-blind)
#2A131F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0937;
/* rgb */ color: rgb(43, 9, 55);
/* oklch */ color: oklch(22.6% 0.089 315.7);
Tailwind
colors: {
  custom: {
    50: '#664c6e',
    500: '#2b0937',
    950: '#000000',
  },
}
SCSS
$custom: #2b0937;
$custom-light: #664c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0937",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 284.348,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22569,
    "c": 0.08855,
    "h": 315.7
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#2B0937
secondary
#3B7527
accent
#EF3969
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0937

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

Preview Lab → · Contrast checker → · Palette generator →

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