#2B0835#2B0835

#2B0835 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.088 H 317.7°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#2B0835
RGBrgb(43, 8, 53)
HSLhsl(287, 74%, 12%)
HSVhsv(287, 85%, 21%)
CMYKcmyk(18.9%, 84.9%, 0%, 79.2%)
CIE-LABlab(8.52, 25.73, -21.07)
CIE-LCHlch(8.52, 33.25, 320.69°)
OKLaboklab(22.27% 0.065 -0.0592)
OKLCHoklch(22.27% 0.088 317.7)
XYZxyz(1.7256, 0.9444, 3.4589)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0835 #123508
analogous
#150835 #2B0835 #350829
triadic
#2B0835 #352B08 #08352B
tetradic
#2B0835 #351508 #123508 #082935
square
#2B0835 #351508 #123508 #082935
split-complementary
#2B0835 #293508 #083515
monochromatic
#16041B #16041B #2B0835 #56106A #81189F

Accessibility & contrast

On white

17.66
#2B0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0835
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0835#FFFFFF#000000##FFFFFF
##2B08351.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#091A34
Tritanopia (blue-blind)
#2B111D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0835;
/* rgb */ color: rgb(43, 8, 53);
/* oklch */ color: oklch(22.3% 0.088 317.7);
Tailwind
colors: {
  custom: {
    50: '#664b6c',
    500: '#2b0835',
    950: '#000000',
  },
}
SCSS
$custom: #2b0835;
$custom-light: #664b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0835",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 286.667,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22272,
    "c": 0.08789,
    "h": 317.7
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#2B0835
secondary
#367425
accent
#F03760
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0835

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

Preview Lab → · Contrast checker → · Palette generator →

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