#2C0F2F#2C0F2F

#2C0F2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.070 H 323.8°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#2C0F2F
RGBrgb(44, 15, 47)
HSLhsl(294, 52%, 12%)
HSVhsv(294, 68%, 18%)
CMYKcmyk(6.4%, 68.1%, 0%, 81.6%)
CIE-LABlab(9.66, 20.73, -14.84)
CIE-LCHlch(9.66, 25.50, 324.40°)
OKLaboklab(22.99% 0.0561 -0.0411)
OKLCHoklch(22.99% 0.07 323.8)
XYZxyz(1.7226, 1.0824, 2.8070)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F2F #122F0F
analogous
#1C0F2F #2C0F2F #2F0F22
triadic
#2C0F2F #2F2C0F #0F2F2C
tetradic
#2C0F2F #2F1C0F #122F0F #0F222F
square
#2C0F2F #2F1C0F #122F0F #0F222F
split-complementary
#2C0F2F #222F0F #0F2F1C
monochromatic
#160717 #160717 #2C0F2F #571E5D #832D8C

Accessibility & contrast

On white

17.26
#2C0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F2F
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F2F#FFFFFF#000000##FFFFFF
##2C0F2F1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1930
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#2D131D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0f2f;
/* rgb */ color: rgb(44, 15, 47);
/* oklch */ color: oklch(23.0% 0.070 323.8);
Tailwind
colors: {
  custom: {
    50: '#664f67',
    500: '#2c0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f2f;
$custom-light: #664f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f2f",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 294.375,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22994,
    "c": 0.06955,
    "h": 323.8
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#2C0F2F
secondary
#366931
accent
#DB4D5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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