#2C0628#2C0628

#2C0628 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.079 H 332.5°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#2C0628
RGBrgb(44, 6, 40)
HSLhsl(306, 76%, 10%)
HSVhsv(306, 86%, 17%)
CMYKcmyk(0%, 86.4%, 9.1%, 82.7%)
CIE-LABlab(7.40, 24.19, -13.18)
CIE-LCHlch(7.40, 27.55, 331.42°)
OKLaboklab(21.19% 0.0698 -0.0363)
OKLCHoklch(21.19% 0.079 332.5)
XYZxyz(1.4868, 0.8190, 2.0869)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0628 #062C0A
analogous
#1D062C #2C0628 #2C0615
triadic
#2C0628 #282C06 #06282C
tetradic
#2C0628 #2C1D06 #062C0A #06152C
square
#2C0628 #2C1D06 #062C0A #06152C
split-complementary
#2C0628 #152C06 #062C1D
monochromatic
#1B0418 #1B0418 #2C0628 #620D59 #98158A

Accessibility & contrast

On white

18.04
#2C0628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2C0628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0628
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0628#FFFFFF#000000##FFFFFF
##2C06281.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051329
Deuteranopia (green-blind)
#121827
Tritanopia (blue-blind)
#2E0916
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0628;
/* rgb */ color: rgb(44, 6, 40);
/* oklch */ color: oklch(21.2% 0.079 332.5);
Tailwind
colors: {
  custom: {
    50: '#674a62',
    500: '#2c0628',
    950: '#000000',
  },
}
SCSS
$custom: #2c0628;
$custom-light: #674a62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0628",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 306.316,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21194,
    "c": 0.07865,
    "h": 332.5
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#2C0628
secondary
#216D29
accent
#F34935
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0628

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

Preview Lab → · Contrast checker → · Palette generator →

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