#2C0B2E#2C0B2E

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

Color values

HEX#2C0B2E
RGBrgb(44, 11, 46)
HSLhsl(297, 61%, 11%)
HSVhsv(297, 76%, 18%)
CMYKcmyk(4.3%, 76.1%, 0%, 82%)
CIE-LABlab(8.76, 22.79, -15.53)
CIE-LCHlch(8.76, 27.58, 325.73°)
OKLaboklab(22.32% 0.0624 -0.043)
OKLCHoklch(22.32% 0.076 325.4)
XYZxyz(1.6515, 0.9722, 2.6849)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B2E #0D2E0B
analogous
#1A0B2E #2C0B2E #2E0B1E
triadic
#2C0B2E #2E2C0B #0B2E2C
tetradic
#2C0B2E #2E1A0B #0D2E0B #0B1E2E
square
#2C0B2E #2E1A0B #0D2E0B #0B1E2E
split-complementary
#2C0B2E #1E2E0B #0B2E1A
monochromatic
#180619 #180619 #2C0B2E #5B175F #8A2391

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0B2E#FFFFFF#000000##FFFFFF
##2C0B2E1.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)
#06162F
Deuteranopia (green-blind)
#121A2D
Tritanopia (blue-blind)
#2D101B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0b2e;
/* rgb */ color: rgb(44, 11, 46);
/* oklch */ color: oklch(22.3% 0.076 325.4);
Tailwind
colors: {
  custom: {
    50: '#674d67',
    500: '#2c0b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b2e;
$custom-light: #674d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b2e",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 296.571,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22316,
    "c": 0.07579,
    "h": 325.4
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#2C0B2E
secondary
#2E6A2A
accent
#E5434D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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