#2B0C2E#2B0C2E

#2B0C2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.073 H 324.1°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#2B0C2E
RGBrgb(43, 12, 46)
HSLhsl(295, 59%, 11%)
HSVhsv(295, 74%, 18%)
CMYKcmyk(6.5%, 73.9%, 0%, 82%)
CIE-LABlab(8.77, 21.92, -15.52)
CIE-LCHlch(8.77, 26.86, 324.71°)
OKLaboklab(22.29% 0.0594 -0.043)
OKLCHoklch(22.29% 0.073 324.1)
XYZxyz(1.6208, 0.9739, 2.6868)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0C2E #0F2E0C
analogous
#1A0C2E #2B0C2E #2E0C20
triadic
#2B0C2E #2E2B0C #0C2E2B
tetradic
#2B0C2E #2E1A0C #0F2E0C #0C202E
square
#2B0C2E #2E1A0C #0F2E0C #0C202E
split-complementary
#2B0C2E #202E0C #0C2E1A
monochromatic
#170618 #170618 #2B0C2E #58195F #86258F

Accessibility & contrast

On white

17.58
#2B0C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0C2E
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0C2E#FFFFFF#000000##FFFFFF
##2B0C2E1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06172F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#2C111B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0c2e;
/* rgb */ color: rgb(43, 12, 46);
/* oklch */ color: oklch(22.3% 0.073 324.1);
Tailwind
colors: {
  custom: {
    50: '#664d67',
    500: '#2b0c2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b0c2e;
$custom-light: #664d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0c2e",
  "rgb": {
    "r": 43,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 294.706,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22289,
    "c": 0.07335,
    "h": 324.1
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#2B0C2E
secondary
#326A2C
accent
#E24654
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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