#2B0733#2B0733

#2B0733 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.087 H 319.7°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2B0733
RGBrgb(43, 7, 51)
HSLhsl(289, 76%, 11%)
HSVhsv(289, 86%, 20%)
CMYKcmyk(15.7%, 86.3%, 0%, 80%)
CIE-LABlab(8.17, 25.80, -20.16)
CIE-LCHlch(8.17, 32.74, 321.99°)
OKLaboklab(21.97% 0.0666 -0.0565)
OKLCHoklch(21.97% 0.087 319.7)
XYZxyz(1.6697, 0.9046, 3.2180)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0733 #0F3307
analogous
#150733 #2B0733 #330725
triadic
#2B0733 #332B07 #07332B
tetradic
#2B0733 #331507 #0F3307 #072533
square
#2B0733 #331507 #0F3307 #072533
split-complementary
#2B0733 #253307 #073315
monochromatic
#17041B #17041B #2B0733 #580E69 #86169F

Accessibility & contrast

On white

17.78
#2B0733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0733
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0733#FFFFFF#000000##FFFFFF
##2B07331.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#0A1932
Tritanopia (blue-blind)
#2B0F1C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0733;
/* rgb */ color: rgb(43, 7, 51);
/* oklch */ color: oklch(22.0% 0.087 319.7);
Tailwind
colors: {
  custom: {
    50: '#664a6b',
    500: '#2b0733',
    950: '#000000',
  },
}
SCSS
$custom: #2b0733;
$custom-light: #664a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0733",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 289.091,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21973,
    "c": 0.08737,
    "h": 319.7
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#2B0733
secondary
#327323
accent
#F23558
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0733

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

Preview Lab → · Contrast checker → · Palette generator →

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