#2B0830#2B0830

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

Color values

HEX#2B0830
RGBrgb(43, 8, 48)
HSLhsl(293, 71%, 11%)
HSVhsv(293, 83%, 19%)
CMYKcmyk(10.4%, 83.3%, 0%, 81.2%)
CIE-LABlab(8.14, 24.55, -18.01)
CIE-LCHlch(8.14, 30.45, 323.74°)
OKLaboklab(21.88% 0.0654 -0.0503)
OKLCHoklch(21.88% 0.082 322.4)
XYZxyz(1.6165, 0.9007, 2.8844)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0830 #0D3008
analogous
#170830 #2B0830 #300821
triadic
#2B0830 #302B08 #08302B
tetradic
#2B0830 #301708 #0D3008 #082130
square
#2B0830 #301708 #0D3008 #082130
split-complementary
#2B0830 #213008 #083017
monochromatic
#17041A #17041A #2B0830 #5A1164 #891999

Accessibility & contrast

On white

17.79
#2B0830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0830
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0830#FFFFFF#000000##FFFFFF
##2B08301.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011531
Deuteranopia (green-blind)
#0E192F
Tritanopia (blue-blind)
#2C0F1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0830;
/* rgb */ color: rgb(43, 8, 48);
/* oklch */ color: oklch(21.9% 0.082 322.4);
Tailwind
colors: {
  custom: {
    50: '#664b68',
    500: '#2b0830',
    950: '#000000',
  },
}
SCSS
$custom: #2b0830;
$custom-light: #664b68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0830",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 292.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21875,
    "c": 0.08244,
    "h": 322.4
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#2B0830
secondary
#2E6F25
accent
#EE3A50
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0830

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

Preview Lab → · Contrast checker → · Palette generator →

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