#2B0837#2B0837

#2B0837 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.090 H 315.9°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2B0837
RGBrgb(43, 8, 55)
HSLhsl(285, 75%, 12%)
HSVhsv(285, 85%, 22%)
CMYKcmyk(21.8%, 85.5%, 0%, 78.4%)
CIE-LABlab(8.68, 26.21, -22.26)
CIE-LCHlch(8.68, 34.39, 319.66°)
OKLaboklab(22.44% 0.0647 -0.0627)
OKLCHoklch(22.44% 0.09 315.9)
XYZxyz(1.7726, 0.9632, 3.7062)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0837 #143708
analogous
#140837 #2B0837 #37082C
triadic
#2B0837 #372B08 #08372B
tetradic
#2B0837 #371408 #143708 #082C37
square
#2B0837 #371408 #143708 #082C37
split-complementary
#2B0837 #2C3708 #083714
monochromatic
#15041B #15041B #2B0837 #55106C #7F18A2

Accessibility & contrast

On white

17.61
#2B0837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B0837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0837
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0837#FFFFFF#000000##FFFFFF
##2B08371.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0837;
/* rgb */ color: rgb(43, 8, 55);
/* oklch */ color: oklch(22.4% 0.090 315.9);
Tailwind
colors: {
  custom: {
    50: '#674b6e',
    500: '#2b0837',
    950: '#000000',
  },
}
SCSS
$custom: #2b0837;
$custom-light: #674b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0837",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 284.681,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22438,
    "c": 0.0901,
    "h": 315.9
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#2B0837
secondary
#3A7625
accent
#F13766
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0837

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

Preview Lab → · Contrast checker → · Palette generator →

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