#2C0427#2C0427

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

Color values

HEX#2C0427
RGBrgb(44, 4, 39)
HSLhsl(308, 83%, 9%)
HSVhsv(308, 91%, 17%)
CMYKcmyk(0%, 90.9%, 11.4%, 82.7%)
CIE-LABlab(6.95, 25.06, -13.13)
CIE-LCHlch(6.95, 28.29, 332.34°)
OKLaboklab(20.82% 0.0732 -0.0363)
OKLCHoklch(20.82% 0.082 333.7)
XYZxyz(1.4483, 0.7689, 1.9912)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0427 #042C09
analogous
#1D042C #2C0427 #2C0413
triadic
#2C0427 #272C04 #04272C
tetradic
#2C0427 #2C1D04 #042C09 #04132C
square
#2C0427 #2C1D04 #042C09 #04132C
split-complementary
#2C0427 #132C04 #042C1D
monochromatic
#1C0319 #1C0319 #2C0427 #640959 #9C0E8A

Accessibility & contrast

On white

18.20
#2C0427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0427
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0427#FFFFFF#000000##FFFFFF
##2C04271.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0427;
/* rgb */ color: rgb(44, 4, 39);
/* oklch */ color: oklch(20.8% 0.082 333.7);
Tailwind
colors: {
  custom: {
    50: '#674861',
    500: '#2c0427',
    950: '#000000',
  },
}
SCSS
$custom: #2c0427;
$custom-light: #674861;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0427",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 307.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20823,
    "c": 0.08172,
    "h": 333.7
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#2C0427
secondary
#1D6F27
accent
#FA482E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0427

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

Preview Lab → · Contrast checker → · Palette generator →

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