#2B0736#2B0736

#2B0736 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.091 H 317.0°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#2B0736
RGBrgb(43, 7, 54)
HSLhsl(286, 77%, 12%)
HSVhsv(286, 87%, 21%)
CMYKcmyk(20.4%, 87%, 0%, 78.8%)
CIE-LABlab(8.41, 26.50, -21.97)
CIE-LCHlch(8.41, 34.43, 320.34°)
OKLaboklab(22.22% 0.0662 -0.0618)
OKLCHoklch(22.22% 0.091 317)
XYZxyz(1.7380, 0.9320, 3.5777)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0736 #123607
analogous
#140736 #2B0736 #36072A
triadic
#2B0736 #362B07 #07362B
tetradic
#2B0736 #361407 #123607 #072A36
square
#2B0736 #361407 #123607 #072A36
split-complementary
#2B0736 #2A3607 #073614
monochromatic
#16041B #16041B #2B0736 #560E6C #8115A2

Accessibility & contrast

On white

17.70
#2B0736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0736
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0736#FFFFFF#000000##FFFFFF
##2B07361.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#081935
Tritanopia (blue-blind)
#2A111E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0736;
/* rgb */ color: rgb(43, 7, 54);
/* oklch */ color: oklch(22.2% 0.091 317.0);
Tailwind
colors: {
  custom: {
    50: '#674b6d',
    500: '#2b0736',
    950: '#000000',
  },
}
SCSS
$custom: #2b0736;
$custom-light: #674b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0736",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 285.957,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22221,
    "c": 0.09061,
    "h": 317
  },
  "luminance": 0.00932
}

Semantic roles & 50–950 ramp

primary
#2B0736
secondary
#367623
accent
#F43461
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0736

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

Preview Lab → · Contrast checker → · Palette generator →

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