#2B0A2E#2B0A2E

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

Color values

HEX#2B0A2E
RGBrgb(43, 10, 46)
HSLhsl(295, 64%, 11%)
HSVhsv(295, 78%, 18%)
CMYKcmyk(6.5%, 78.3%, 0%, 82%)
CIE-LABlab(8.38, 23.02, -16.14)
CIE-LCHlch(8.38, 28.11, 324.95°)
OKLaboklab(22% 0.0624 -0.0448)
OKLCHoklch(22% 0.077 324.3)
XYZxyz(1.5979, 0.9280, 2.6792)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A2E #0D2E0A
analogous
#190A2E #2B0A2E #2E0A1F
triadic
#2B0A2E #2E2B0A #0A2E2B
tetradic
#2B0A2E #2E190A #0D2E0A #0A1F2E
square
#2B0A2E #2E190A #0D2E0A #0A1F2E
split-complementary
#2B0A2E #1F2E0A #0A2E19
monochromatic
#170519 #170519 #2B0A2E #5A1560 #892093

Accessibility & contrast

On white

17.71
#2B0A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A2E
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A2E#FFFFFF#000000##FFFFFF
##2B0A2E1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04162F
Deuteranopia (green-blind)
#101A2D
Tritanopia (blue-blind)
#2C0F1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0a2e;
/* rgb */ color: rgb(43, 10, 46);
/* oklch */ color: oklch(22.0% 0.077 324.3);
Tailwind
colors: {
  custom: {
    50: '#664c67',
    500: '#2b0a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a2e;
$custom-light: #664c67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a2e",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 295,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22002,
    "c": 0.07685,
    "h": 324.3
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#2B0A2E
secondary
#2E6B29
accent
#E7414E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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