#2C062F#2C062F

#2C062F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.085 H 324.8°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2C062F
RGBrgb(44, 6, 47)
HSLhsl(296, 77%, 10%)
HSVhsv(296, 87%, 18%)
CMYKcmyk(6.4%, 87.2%, 0%, 81.6%)
CIE-LABlab(7.87, 25.71, -17.68)
CIE-LCHlch(7.87, 31.20, 325.49°)
OKLaboklab(21.7% 0.0699 -0.0492)
OKLCHoklch(21.7% 0.085 324.8)
XYZxyz(1.6169, 0.8711, 2.7717)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C062F #092F06
analogous
#17062F #2C062F #2F061D
triadic
#2C062F #2F2C06 #062F2C
tetradic
#2C062F #2F1706 #092F06 #061D2F
square
#2C062F #2F1706 #092F06 #061D2F
split-complementary
#2C062F #1D2F06 #062F17
monochromatic
#19031B #19031B #2C062F #5F0D65 #92149C

Accessibility & contrast

On white

17.88
#2C062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C062F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C062F
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C062F#FFFFFF#000000##FFFFFF
##2C062F1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#2D0D19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c062f;
/* rgb */ color: rgb(44, 6, 47);
/* oklch */ color: oklch(21.7% 0.085 324.8);
Tailwind
colors: {
  custom: {
    50: '#674a68',
    500: '#2c062f',
    950: '#000000',
  },
}
SCSS
$custom: #2c062f;
$custom-light: #674a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c062f",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 295.61,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21698,
    "c": 0.08549,
    "h": 324.8
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#2C062F
secondary
#277021
accent
#F43442
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C062F

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

Preview Lab → · Contrast checker → · Palette generator →

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