#2B0833#2B0833

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

Color values

HEX#2B0833
RGBrgb(43, 8, 51)
HSLhsl(289, 73%, 12%)
HSVhsv(289, 84%, 20%)
CMYKcmyk(15.7%, 84.3%, 0%, 80%)
CIE-LABlab(8.36, 25.25, -19.85)
CIE-LCHlch(8.36, 32.12, 321.82°)
OKLaboklab(22.11% 0.0652 -0.0556)
OKLCHoklch(22.11% 0.086 319.5)
XYZxyz(1.6806, 0.9264, 3.2216)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0833 #103308
analogous
#160833 #2B0833 #330826
triadic
#2B0833 #332B08 #08332B
tetradic
#2B0833 #331608 #103308 #082633
square
#2B0833 #331608 #103308 #082633
split-complementary
#2B0833 #263308 #083316
monochromatic
#16041A #16041A #2B0833 #581068 #84199D

Accessibility & contrast

On white

17.72
#2B0833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0833
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0833#FFFFFF#000000##FFFFFF
##2B08331.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#0B1932
Tritanopia (blue-blind)
#2B101C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0833;
/* rgb */ color: rgb(43, 8, 51);
/* oklch */ color: oklch(22.1% 0.086 319.5);
Tailwind
colors: {
  custom: {
    50: '#664b6b',
    500: '#2b0833',
    950: '#000000',
  },
}
SCSS
$custom: #2b0833;
$custom-light: #664b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0833",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 288.837,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22109,
    "c": 0.0857,
    "h": 319.5
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#2B0833
secondary
#337225
accent
#F0385A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0833

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

Preview Lab → · Contrast checker → · Palette generator →

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