#2B102A#2B102A

#2B102A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.7% C 0.061 H 328.8°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#2B102A
RGBrgb(43, 16, 42)
HSLhsl(302, 46%, 12%)
HSVhsv(302, 63%, 17%)
CMYKcmyk(0%, 62.8%, 2.3%, 83.1%)
CIE-LABlab(9.41, 18.59, -11.54)
CIE-LCHlch(9.41, 21.88, 328.17°)
OKLaboklab(22.68% 0.0521 -0.0316)
OKLCHoklch(22.68% 0.061 328.8)
XYZxyz(1.5994, 1.0514, 2.3087)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B102A #102B11
analogous
#1F102B #2B102A #2B101D
triadic
#2B102A #2A2B10 #102A2B
tetradic
#2B102A #2B1F10 #102B11 #101D2B
square
#2B102A #2B1F10 #102B11 #101D2B
split-complementary
#2B102A #1D2B10 #102B1F
monochromatic
#160816 #160816 #2B102A #582156 #843181

Accessibility & contrast

On white

17.35
#2B102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B102A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B102A
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B102A#FFFFFF#000000##FFFFFF
##2B102A1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182B
Deuteranopia (green-blind)
#161C29
Tritanopia (blue-blind)
#2D131B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b102a;
/* rgb */ color: rgb(43, 16, 42);
/* oklch */ color: oklch(22.7% 0.061 328.8);
Tailwind
colors: {
  custom: {
    50: '#654f63',
    500: '#2b102a',
    950: '#000000',
  },
}
SCSS
$custom: #2b102a;
$custom-light: #654f63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b102a",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 302.222,
    "s": 45.763,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22677,
    "c": 0.06095,
    "h": 328.8
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#2B102A
secondary
#336435
accent
#D55752
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2B102A

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

Preview Lab → · Contrast checker → · Palette generator →

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