#2B0939#2B0939

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

Color values

HEX#2B0939
RGBrgb(43, 9, 57)
HSLhsl(283, 73%, 13%)
HSVhsv(283, 84%, 22%)
CMYKcmyk(24.6%, 84.2%, 0%, 77.6%)
CIE-LABlab(9.03, 26.19, -23.15)
CIE-LCHlch(9.03, 34.96, 318.52°)
OKLaboklab(22.74% 0.0631 -0.0653)
OKLCHoklch(22.74% 0.091 314)
XYZxyz(1.8323, 1.0044, 3.9675)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0939 #173909
analogous
#130939 #2B0939 #39092F
triadic
#2B0939 #392B09 #09392B
tetradic
#2B0939 #391309 #173909 #092F39
square
#2B0939 #391309 #173909 #092F39
split-complementary
#2B0939 #2F3909 #093913
monochromatic
#14041A #14041A #2B0939 #53116E #7B1AA3

Accessibility & contrast

On white

17.49
#2B0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0939
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0939#FFFFFF#000000##FFFFFF
##2B09391.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#061A38
Tritanopia (blue-blind)
#2A1320
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0939;
/* rgb */ color: rgb(43, 9, 57);
/* oklch */ color: oklch(22.7% 0.091 314.0);
Tailwind
colors: {
  custom: {
    50: '#674c70',
    500: '#2b0939',
    950: '#000000',
  },
}
SCSS
$custom: #2b0939;
$custom-light: #674c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0939",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 282.5,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22737,
    "c": 0.09082,
    "h": 314
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#2B0939
secondary
#3E7727
accent
#EF386E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0939

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

Preview Lab → · Contrast checker → · Palette generator →

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