#2C0D39#2C0D39

#2C0D39 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.085 H 314.3°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#2C0D39
RGBrgb(44, 13, 57)
HSLhsl(282, 63%, 14%)
HSVhsv(282, 77%, 22%)
CMYKcmyk(22.8%, 77.2%, 0%, 77.6%)
CIE-LABlab(9.94, 24.37, -21.67)
CIE-LCHlch(9.94, 32.61, 318.35°)
OKLaboklab(23.43% 0.0594 -0.061)
OKLCHoklch(23.43% 0.085 314.3)
XYZxyz(1.9210, 1.1188, 3.9849)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D39 #1A390D
analogous
#160D39 #2C0D39 #390D30
triadic
#2C0D39 #392C0D #0D392C
tetradic
#2C0D39 #39160D #1A390D #0D3039
square
#2C0D39 #39160D #1A390D #0D3039
split-complementary
#2C0D39 #30390D #0D3916
monochromatic
#130619 #130619 #2C0D39 #52186B #79249D

Accessibility & contrast

On white

17.16
#2C0D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D39
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D39#FFFFFF#000000##FFFFFF
##2C0D391.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3A
Deuteranopia (green-blind)
#0B1C38
Tritanopia (blue-blind)
#2B1621
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0d39;
/* rgb */ color: rgb(44, 13, 57);
/* oklch */ color: oklch(23.4% 0.085 314.3);
Tailwind
colors: {
  custom: {
    50: '#674e70',
    500: '#2c0d39',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d39;
$custom-light: #674e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d39",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 282.273,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23428,
    "c": 0.08513,
    "h": 314.3
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#2C0D39
secondary
#42742D
accent
#E64272
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0D39

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

Preview Lab → · Contrast checker → · Palette generator →

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