#2C0F2A#2C0F2A

#2C0F2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.064 H 330.1°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#2C0F2A
RGBrgb(44, 15, 42)
HSLhsl(304, 49%, 12%)
HSVhsv(304, 66%, 17%)
CMYKcmyk(0%, 65.9%, 4.5%, 82.7%)
CIE-LABlab(9.36, 19.58, -11.62)
CIE-LCHlch(9.36, 22.77, 329.32°)
OKLaboklab(22.67% 0.0553 -0.0318)
OKLCHoklch(22.67% 0.064 330.1)
XYZxyz(1.6274, 1.0444, 2.3059)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F2A #0F2C11
analogous
#200F2C #2C0F2A #2C0F1C
triadic
#2C0F2A #2A2C0F #0F2A2C
tetradic
#2C0F2A #2C200F #0F2C11 #0F1C2C
square
#2C0F2A #2C200F #0F2C11 #0F1C2C
split-complementary
#2C0F2A #1C2C0F #0F2C20
monochromatic
#170816 #170816 #2C0F2A #5A1F56 #872E81

Accessibility & contrast

On white

17.37
#2C0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F2A
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F2A#FFFFFF#000000##FFFFFF
##2C0F2A1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182B
Deuteranopia (green-blind)
#161C29
Tritanopia (blue-blind)
#2E121A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0f2a;
/* rgb */ color: rgb(44, 15, 42);
/* oklch */ color: oklch(22.7% 0.064 330.1);
Tailwind
colors: {
  custom: {
    50: '#664f63',
    500: '#2c0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f2a;
$custom-light: #664f63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f2a",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 304.138,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22672,
    "c": 0.06383,
    "h": 330.1
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#2C0F2A
secondary
#316535
accent
#D9594F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2C0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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