#2B0936#2B0936

#2B0936 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.087 H 316.6°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#2B0936
RGBrgb(43, 9, 54)
HSLhsl(285, 71%, 12%)
HSVhsv(285, 83%, 21%)
CMYKcmyk(20.4%, 83.3%, 0%, 78.8%)
CIE-LABlab(8.78, 25.44, -21.37)
CIE-LCHlch(8.78, 33.23, 319.97°)
OKLaboklab(22.49% 0.0635 -0.0601)
OKLCHoklch(22.49% 0.087 316.6)
XYZxyz(1.7597, 0.9754, 3.5849)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0936 #143609
analogous
#140936 #2B0936 #36092B
triadic
#2B0936 #362B09 #09362B
tetradic
#2B0936 #361409 #143609 #092B36
square
#2B0936 #361409 #143609 #092B36
split-complementary
#2B0936 #2B3609 #093614
monochromatic
#15041A #15041A #2B0936 #55126A #7F1A9F

Accessibility & contrast

On white

17.57
#2B0936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0936
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0936#FFFFFF#000000##FFFFFF
##2B09361.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#091A35
Tritanopia (blue-blind)
#2A121E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0936;
/* rgb */ color: rgb(43, 9, 54);
/* oklch */ color: oklch(22.5% 0.087 316.6);
Tailwind
colors: {
  custom: {
    50: '#664c6d',
    500: '#2b0936',
    950: '#000000',
  },
}
SCSS
$custom: #2b0936;
$custom-light: #664c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0936",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 285.333,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22486,
    "c": 0.08742,
    "h": 316.6
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#2B0936
secondary
#3A7427
accent
#EE3A66
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0936

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

Preview Lab → · Contrast checker → · Palette generator →

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