#2C0F2D#2C0F2D

#2C0F2D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.067 H 326.2°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#2C0F2D
RGBrgb(44, 15, 45)
HSLhsl(298, 50%, 12%)
HSVhsv(298, 67%, 18%)
CMYKcmyk(2.2%, 66.7%, 0%, 82.4%)
CIE-LABlab(9.54, 20.26, -13.56)
CIE-LCHlch(9.54, 24.38, 326.21°)
OKLaboklab(22.86% 0.0559 -0.0374)
OKLCHoklch(22.86% 0.067 326.2)
XYZxyz(1.6832, 1.0667, 2.5993)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F2D #102D0F
analogous
#1D0F2D #2C0F2D #2D0F1F
triadic
#2C0F2D #2D2C0F #0F2D2C
tetradic
#2C0F2D #2D1D0F #102D0F #0F1F2D
square
#2C0F2D #2D1D0F #102D0F #0F1F2D
split-complementary
#2C0F2D #1F2D0F #0F2D1D
monochromatic
#160817 #160817 #2C0F2D #591E5B #862E89

Accessibility & contrast

On white

17.31
#2C0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F2D
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F2D#FFFFFF#000000##FFFFFF
##2C0F2D1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182E
Deuteranopia (green-blind)
#151C2C
Tritanopia (blue-blind)
#2D131C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0f2d;
/* rgb */ color: rgb(44, 15, 45);
/* oklch */ color: oklch(22.9% 0.067 326.2);
Tailwind
colors: {
  custom: {
    50: '#664f66',
    500: '#2c0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f2d;
$custom-light: #664f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f2d",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 298,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22862,
    "c": 0.06722,
    "h": 326.2
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#2C0F2D
secondary
#336631
accent
#DA4E53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2C0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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