#2C0827#2C0827

#2C0827 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.4% C 0.074 H 333.9°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#2C0827
RGBrgb(44, 8, 39)
HSLhsl(308, 69%, 10%)
HSVhsv(308, 82%, 17%)
CMYKcmyk(0%, 81.8%, 11.4%, 82.7%)
CIE-LABlab(7.73, 22.91, -11.91)
CIE-LCHlch(7.73, 25.82, 332.53°)
OKLaboklab(21.42% 0.0663 -0.0326)
OKLCHoklch(21.42% 0.074 333.9)
XYZxyz(1.4918, 0.8557, 2.0057)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0827 #082C0D
analogous
#1F082C #2C0827 #2C0815
triadic
#2C0827 #272C08 #08272C
tetradic
#2C0827 #2C1F08 #082C0D #08152C
square
#2C0827 #2C1F08 #082C0D #08152C
split-complementary
#2C0827 #152C08 #082C1F
monochromatic
#1A0517 #1A0517 #2C0827 #601155 #941B83

Accessibility & contrast

On white

17.93
#2C0827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C0827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0827
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0827#FFFFFF#000000##FFFFFF
##2C08271.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071428
Deuteranopia (green-blind)
#131926
Tritanopia (blue-blind)
#2E0B16
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0827;
/* rgb */ color: rgb(44, 8, 39);
/* oklch */ color: oklch(21.4% 0.074 333.9);
Tailwind
colors: {
  custom: {
    50: '#674b61',
    500: '#2c0827',
    950: '#000000',
  },
}
SCSS
$custom: #2c0827;
$custom-light: #674b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0827",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 39
  },
  "hsl": {
    "h": 308.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21422,
    "c": 0.07389,
    "h": 333.9
  },
  "luminance": 0.00856
}

Semantic roles & 50–950 ramp

primary
#2C0827
secondary
#256B2F
accent
#EC543C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0827

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

Preview Lab → · Contrast checker → · Palette generator →

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