#2C0638#2C0638

#2C0638 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.095 H 316.5°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2C0638
RGBrgb(44, 6, 56)
HSLhsl(286, 81%, 12%)
HSVhsv(286, 89%, 22%)
CMYKcmyk(21.4%, 89.3%, 0%, 78%)
CIE-LABlab(8.58, 27.76, -23.14)
CIE-LCHlch(8.58, 36.14, 320.18°)
OKLaboklab(22.43% 0.0688 -0.0652)
OKLCHoklch(22.43% 0.095 316.5)
XYZxyz(1.8175, 0.9513, 3.8285)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0638 #123806
analogous
#130638 #2C0638 #38062B
triadic
#2C0638 #382C06 #06382C
tetradic
#2C0638 #381306 #123806 #062B38
square
#2C0638 #381306 #123806 #062B38
split-complementary
#2C0638 #2B3806 #063813
monochromatic
#16031C #16031C #2C0638 #570C6F #8312A7

Accessibility & contrast

On white

17.64
#2C0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C0638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0638
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0638#FFFFFF#000000##FFFFFF
##2C06381.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#061A37
Tritanopia (blue-blind)
#2B111F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0638;
/* rgb */ color: rgb(44, 6, 56);
/* oklch */ color: oklch(22.4% 0.095 316.5);
Tailwind
colors: {
  custom: {
    50: '#684a6f',
    500: '#2c0638',
    950: '#000000',
  },
}
SCSS
$custom: #2c0638;
$custom-light: #684a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0638",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 285.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2243,
    "c": 0.09479,
    "h": 316.5
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#2C0638
secondary
#367821
accent
#F73160
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0638

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

Preview Lab → · Contrast checker → · Palette generator →

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