#2C032F#2C032F

#2C032F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.091 H 325.1°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#2C032F
RGBrgb(44, 3, 47)
HSLhsl(296, 88%, 10%)
HSVhsv(296, 94%, 18%)
CMYKcmyk(6.4%, 93.6%, 0%, 81.6%)
CIE-LABlab(7.28, 27.38, -18.62)
CIE-LCHlch(7.28, 33.11, 325.78°)
OKLaboklab(21.27% 0.0748 -0.052)
OKLCHoklch(21.27% 0.091 325.1)
XYZxyz(1.5843, 0.8059, 2.7609)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C032F #062F03
analogous
#16032F #2C032F #2F031C
triadic
#2C032F #2F2C03 #032F2C
tetradic
#2C032F #2F1603 #062F03 #031C2F
square
#2C032F #2F1603 #062F03 #031C2F
split-complementary
#2C032F #1C2F03 #032F16
monochromatic
#1B021D #1B021D #2C032F #620769 #980AA2

Accessibility & contrast

On white

18.08
#2C032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C032F
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C032F#FFFFFF#000000##FFFFFF
##2C032F1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#2D0A18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c032f;
/* rgb */ color: rgb(44, 3, 47);
/* oklch */ color: oklch(21.3% 0.091 325.1);
Tailwind
colors: {
  custom: {
    50: '#674868',
    500: '#2c032f',
    950: '#000000',
  },
}
SCSS
$custom: #2c032f;
$custom-light: #674868;
$custom-dark: #000000;
JSON
{
  "hex": "#2c032f",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 295.909,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21265,
    "c": 0.09109,
    "h": 325.1
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#2C032F
secondary
#21731B
accent
#FE2A38
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C032F

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

Preview Lab → · Contrast checker → · Palette generator →

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