#2C0F2B#2C0F2B

#2C0F2B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.7% C 0.065 H 328.8°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#2C0F2B
RGBrgb(44, 15, 43)
HSLhsl(302, 49%, 12%)
HSVhsv(302, 66%, 17%)
CMYKcmyk(0%, 65.9%, 2.3%, 82.7%)
CIE-LABlab(9.41, 19.81, -12.27)
CIE-LCHlch(9.41, 23.30, 328.22°)
OKLaboklab(22.73% 0.0555 -0.0337)
OKLCHoklch(22.73% 0.065 328.8)
XYZxyz(1.6456, 1.0516, 2.4013)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F2B #0F2C10
analogous
#1F0F2C #2C0F2B #2C0F1D
triadic
#2C0F2B #2B2C0F #0F2B2C
tetradic
#2C0F2B #2C1F0F #0F2C10 #0F1D2C
square
#2C0F2B #2C1F0F #0F2C10 #0F1D2C
split-complementary
#2C0F2B #1D2C0F #0F2C1F
monochromatic
#170816 #170816 #2C0F2B #5A1F58 #872E84

Accessibility & contrast

On white

17.35
#2C0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F2B
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F2B#FFFFFF#000000##FFFFFF
##2C0F2B1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182C
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#2E121B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0f2b;
/* rgb */ color: rgb(44, 15, 43);
/* oklch */ color: oklch(22.7% 0.065 328.8);
Tailwind
colors: {
  custom: {
    50: '#664f64',
    500: '#2c0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f2b;
$custom-light: #664f64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f2b",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 302.069,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22734,
    "c": 0.06494,
    "h": 328.8
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#2C0F2B
secondary
#316533
accent
#D9544F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2C0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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