#2C0F36#2C0F36

#2C0F36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.078 H 316.5°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#2C0F36
RGBrgb(44, 15, 54)
HSLhsl(285, 57%, 14%)
HSVhsv(285, 72%, 21%)
CMYKcmyk(18.5%, 72.2%, 0%, 78.8%)
CIE-LABlab(10.13, 22.46, -19.20)
CIE-LCHlch(10.13, 29.55, 319.48°)
OKLaboklab(23.49% 0.0566 -0.0537)
OKLCHoklch(23.49% 0.078 316.5)
XYZxyz(1.8753, 1.1435, 3.6113)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F36 #19360F
analogous
#180F36 #2C0F36 #360F2C
triadic
#2C0F36 #362C0F #0F362C
tetradic
#2C0F36 #36180F #19360F #0F2C36
square
#2C0F36 #36180F #19360F #0F2C36
split-complementary
#2C0F36 #2C360F #0F3618
monochromatic
#140718 #140718 #2C0F36 #531C66 #7A2A96

Accessibility & contrast

On white

17.09
#2C0F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C0F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F36
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F36#FFFFFF#000000##FFFFFF
##2C0F361.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A37
Deuteranopia (green-blind)
#0F1D35
Tritanopia (blue-blind)
#2B1620
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0f36;
/* rgb */ color: rgb(44, 15, 54);
/* oklch */ color: oklch(23.5% 0.078 316.5);
Tailwind
colors: {
  custom: {
    50: '#674f6d',
    500: '#2c0f36',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f36;
$custom-light: #674f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f36",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 284.615,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23493,
    "c": 0.07803,
    "h": 316.5
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#2C0F36
secondary
#417031
accent
#E0486F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0F36

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

Preview Lab → · Contrast checker → · Palette generator →

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