#2C0B2F#2C0B2F

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

Color values

HEX#2C0B2F
RGBrgb(44, 11, 47)
HSLhsl(295, 62%, 11%)
HSVhsv(295, 77%, 18%)
CMYKcmyk(6.4%, 76.6%, 0%, 81.6%)
CIE-LABlab(8.82, 23.02, -16.16)
CIE-LCHlch(8.82, 28.13, 324.93°)
OKLaboklab(22.39% 0.0624 -0.0449)
OKLCHoklch(22.39% 0.077 324.3)
XYZxyz(1.6714, 0.9801, 2.7899)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B2F #0E2F0B
analogous
#1A0B2F #2C0B2F #2F0B20
triadic
#2C0B2F #2F2C0B #0B2F2C
tetradic
#2C0B2F #2F1A0B #0E2F0B #0B202F
square
#2C0B2F #2F1A0B #0E2F0B #0B202F
split-complementary
#2C0B2F #202F0B #0B2F1A
monochromatic
#170619 #170619 #2C0B2F #5A1761 #892292

Accessibility & contrast

On white

17.56
#2C0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2C0B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0B2F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B2F#FFFFFF#000000##FFFFFF
##2C0B2F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#111B2E
Tritanopia (blue-blind)
#2D101B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0b2f;
/* rgb */ color: rgb(44, 11, 47);
/* oklch */ color: oklch(22.4% 0.077 324.3);
Tailwind
colors: {
  custom: {
    50: '#674d67',
    500: '#2c0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b2f;
$custom-light: #674d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b2f",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 295,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22386,
    "c": 0.07688,
    "h": 324.3
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#2C0B2F
secondary
#306B2A
accent
#E54350
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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