#2B0732#2B0732

#2B0732 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.086 H 320.6°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#2B0732
RGBrgb(43, 7, 50)
HSLhsl(290, 75%, 11%)
HSVhsv(290, 86%, 20%)
CMYKcmyk(14%, 86%, 0%, 80.4%)
CIE-LABlab(8.09, 25.56, -19.55)
CIE-LCHlch(8.09, 32.18, 322.59°)
OKLaboklab(21.89% 0.0667 -0.0547)
OKLCHoklch(21.89% 0.086 320.6)
XYZxyz(1.6479, 0.8959, 3.1031)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0732 #0E3207
analogous
#150732 #2B0732 #320723
triadic
#2B0732 #322B07 #07322B
tetradic
#2B0732 #321507 #0E3207 #072332
square
#2B0732 #321507 #0E3207 #072332
split-complementary
#2B0732 #233207 #073215
monochromatic
#17041B #17041B #2B0732 #590F68 #87169D

Accessibility & contrast

On white

17.81
#2B0732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2B0732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0732
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0732#FFFFFF#000000##FFFFFF
##2B07321.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#0B1931
Tritanopia (blue-blind)
#2B0F1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0732;
/* rgb */ color: rgb(43, 7, 50);
/* oklch */ color: oklch(21.9% 0.086 320.6);
Tailwind
colors: {
  custom: {
    50: '#664a6a',
    500: '#2b0732',
    950: '#000000',
  },
}
SCSS
$custom: #2b0732;
$custom-light: #664a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0732",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 290.233,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21892,
    "c": 0.0863,
    "h": 320.6
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#2B0732
secondary
#307223
accent
#F23654
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0732

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

Preview Lab → · Contrast checker → · Palette generator →

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