#2C0D34#2C0D34

#2C0D34 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.079 H 318.8°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2C0D34
RGBrgb(44, 13, 52)
HSLhsl(288, 60%, 13%)
HSVhsv(288, 75%, 20%)
CMYKcmyk(15.4%, 75%, 0%, 79.6%)
CIE-LABlab(9.57, 23.11, -18.64)
CIE-LCHlch(9.57, 29.69, 321.11°)
OKLaboklab(23.04% 0.0596 -0.0521)
OKLCHoklch(23.04% 0.079 318.8)
XYZxyz(1.8024, 1.0713, 3.3600)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D34 #15340D
analogous
#180D34 #2C0D34 #340D28
triadic
#2C0D34 #342C0D #0D342C
tetradic
#2C0D34 #34180D #15340D #0D2834
square
#2C0D34 #34180D #15340D #0D2834
split-complementary
#2C0D34 #28340D #0D3418
monochromatic
#150618 #150618 #2C0D34 #551965 #7F2596

Accessibility & contrast

On white

17.30
#2C0D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D34
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D34#FFFFFF#000000##FFFFFF
##2C0D341.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031935
Deuteranopia (green-blind)
#0F1C33
Tritanopia (blue-blind)
#2C141E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0d34;
/* rgb */ color: rgb(44, 13, 52);
/* oklch */ color: oklch(23.0% 0.079 318.8);
Tailwind
colors: {
  custom: {
    50: '#674e6b',
    500: '#2c0d34',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d34;
$custom-light: #674e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d34",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 287.692,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2304,
    "c": 0.07915,
    "h": 318.8
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#2C0D34
secondary
#3B6F2D
accent
#E34565
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0D34

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

Preview Lab → · Contrast checker → · Palette generator →

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