#2C0B28#2C0B28

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

Color values

HEX#2C0B28
RGBrgb(44, 11, 40)
HSLhsl(307, 60%, 11%)
HSVhsv(307, 75%, 17%)
CMYKcmyk(0%, 75%, 9.1%, 82.7%)
CIE-LABlab(8.38, 21.48, -11.65)
CIE-LCHlch(8.38, 24.44, 331.54°)
OKLaboklab(21.92% 0.0617 -0.0318)
OKLCHoklch(21.92% 0.069 332.7)
XYZxyz(1.5414, 0.9281, 2.1050)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B28 #0B2C0F
analogous
#1F0B2C #2C0B28 #2C0B17
triadic
#2C0B28 #282C0B #0B282C
tetradic
#2C0B28 #2C1F0B #0B2C0F #0B172C
square
#2C0B28 #2C1F0B #0B2C0F #0B172C
split-complementary
#2C0B28 #172C0B #0B2C1F
monochromatic
#180616 #180616 #2C0B28 #5D1755 #8E2381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0B28#FFFFFF#000000##FFFFFF
##2C0B281.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)
#0A1529
Deuteranopia (green-blind)
#151A27
Tritanopia (blue-blind)
#2E0E18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0b28;
/* rgb */ color: rgb(44, 11, 40);
/* oklch */ color: oklch(21.9% 0.069 332.7);
Tailwind
colors: {
  custom: {
    50: '#664c62',
    500: '#2c0b28',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b28;
$custom-light: #664c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b28",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 40
  },
  "hsl": {
    "h": 307.273,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21916,
    "c": 0.06943,
    "h": 332.7
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#2C0B28
secondary
#2B6832
accent
#E35845
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0B28

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

Preview Lab → · Contrast checker → · Palette generator →

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