#2C0428#2C0428

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

Color values

HEX#2C0428
RGBrgb(44, 4, 40)
HSLhsl(306, 83%, 9%)
HSVhsv(306, 91%, 17%)
CMYKcmyk(0%, 90.9%, 9.1%, 82.7%)
CIE-LABlab(7.01, 25.27, -13.80)
CIE-LCHlch(7.01, 28.79, 331.37°)
OKLaboklab(20.89% 0.0733 -0.0382)
OKLCHoklch(20.89% 0.083 332.5)
XYZxyz(1.4651, 0.7756, 2.0796)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0428 #042C08
analogous
#1C042C #2C0428 #2C0414
triadic
#2C0428 #282C04 #04282C
tetradic
#2C0428 #2C1C04 #042C08 #04142C
square
#2C0428 #2C1C04 #042C08 #04142C
split-complementary
#2C0428 #142C04 #042C1C
monochromatic
#1C0319 #1C0319 #2C0428 #64095B #9C0E8E

Accessibility & contrast

On white

18.18
#2C0428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0428
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0428#FFFFFF#000000##FFFFFF
##2C04281.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031229
Deuteranopia (green-blind)
#111827
Tritanopia (blue-blind)
#2E0815
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c0428;
/* rgb */ color: rgb(44, 4, 40);
/* oklch */ color: oklch(20.9% 0.083 332.5);
Tailwind
colors: {
  custom: {
    50: '#674862',
    500: '#2c0428',
    950: '#000000',
  },
}
SCSS
$custom: #2c0428;
$custom-light: #674862;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0428",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 306,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20892,
    "c": 0.08262,
    "h": 332.5
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#2C0428
secondary
#1D6F25
accent
#FA432E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0428

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

Preview Lab → · Contrast checker → · Palette generator →

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