#2C0426#2C0426

#2C0426 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.081 H 334.8°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#2C0426
RGBrgb(44, 4, 38)
HSLhsl(309, 83%, 9%)
HSVhsv(309, 91%, 17%)
CMYKcmyk(0%, 90.9%, 13.6%, 82.7%)
CIE-LABlab(6.89, 24.84, -12.46)
CIE-LCHlch(6.89, 27.79, 333.36°)
OKLaboklab(20.76% 0.0732 -0.0344)
OKLCHoklch(20.76% 0.081 334.8)
XYZxyz(1.4320, 0.7624, 1.9051)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0426 #042C0A
analogous
#1E042C #2C0426 #2C0412
triadic
#2C0426 #262C04 #04262C
tetradic
#2C0426 #2C1E04 #042C0A #04122C
square
#2C0426 #2C1E04 #042C0A #04122C
split-complementary
#2C0426 #122C04 #042C1E
monochromatic
#1C0318 #1C0318 #2C0426 #640956 #9C0E87

Accessibility & contrast

On white

18.22
#2C0426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2C0426 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0426
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0426#FFFFFF#000000##FFFFFF
##2C04261.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041127
Deuteranopia (green-blind)
#121725
Tritanopia (blue-blind)
#2F0714
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c0426;
/* rgb */ color: rgb(44, 4, 38);
/* oklch */ color: oklch(20.8% 0.081 334.8);
Tailwind
colors: {
  custom: {
    50: '#674860',
    500: '#2c0426',
    950: '#000000',
  },
}
SCSS
$custom: #2c0426;
$custom-light: #674860;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0426",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 38
  },
  "hsl": {
    "h": 309,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20755,
    "c": 0.08085,
    "h": 334.8
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#2C0426
secondary
#1D6F29
accent
#FA4D2E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0426

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

Preview Lab → · Contrast checker → · Palette generator →

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