#2B102E#2B102E

#2B102E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.066 H 323.5°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2B102E
RGBrgb(43, 16, 46)
HSLhsl(294, 48%, 12%)
HSVhsv(294, 65%, 18%)
CMYKcmyk(6.5%, 65.2%, 0%, 82%)
CIE-LABlab(9.65, 19.53, -14.13)
CIE-LCHlch(9.65, 24.11, 324.12°)
OKLaboklab(22.93% 0.0528 -0.039)
OKLCHoklch(22.93% 0.066 323.5)
XYZxyz(1.6746, 1.0815, 2.7048)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B102E #132E10
analogous
#1C102E #2B102E #2E1022
triadic
#2B102E #2E2B10 #102E2B
tetradic
#2B102E #2E1C10 #132E10 #10222E
square
#2B102E #2E1C10 #132E10 #10222E
split-complementary
#2B102E #222E10 #102E1C
monochromatic
#150817 #150817 #2B102E #55205B #803089

Accessibility & contrast

On white

17.27
#2B102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B102E
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B102E#FFFFFF#000000##FFFFFF
##2B102E1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C192F
Deuteranopia (green-blind)
#141C2D
Tritanopia (blue-blind)
#2C141D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b102e;
/* rgb */ color: rgb(43, 16, 46);
/* oklch */ color: oklch(22.9% 0.066 323.5);
Tailwind
colors: {
  custom: {
    50: '#654f67',
    500: '#2b102e',
    950: '#000000',
  },
}
SCSS
$custom: #2b102e;
$custom-light: #654f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b102e",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 294,
    "s": 48.387,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22932,
    "c": 0.06569,
    "h": 323.5
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#2B102E
secondary
#386733
accent
#D8505D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B102E

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

Preview Lab → · Contrast checker → · Palette generator →

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