#2C0D37#2C0D37

#2C0D37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.083 H 316.0°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2C0D37
RGBrgb(44, 13, 55)
HSLhsl(284, 62%, 13%)
HSVhsv(284, 76%, 22%)
CMYKcmyk(20%, 76.4%, 0%, 78.4%)
CIE-LABlab(9.79, 23.86, -20.47)
CIE-LCHlch(9.79, 31.44, 319.37°)
OKLaboklab(23.27% 0.0595 -0.0574)
OKLCHoklch(23.27% 0.083 316)
XYZxyz(1.8721, 1.0992, 3.7272)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D37 #18370D
analogous
#170D37 #2C0D37 #370D2D
triadic
#2C0D37 #372C0D #0D372C
tetradic
#2C0D37 #37170D #18370D #0D2D37
square
#2C0D37 #37170D #18370D #0D2D37
split-complementary
#2C0D37 #2D370D #0D3717
monochromatic
#140619 #140619 #2C0D37 #541968 #7B249A

Accessibility & contrast

On white

17.22
#2C0D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D37
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D37#FFFFFF#000000##FFFFFF
##2C0D371.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011938
Deuteranopia (green-blind)
#0D1C36
Tritanopia (blue-blind)
#2B1520
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0d37;
/* rgb */ color: rgb(44, 13, 55);
/* oklch */ color: oklch(23.3% 0.083 316.0);
Tailwind
colors: {
  custom: {
    50: '#674e6e',
    500: '#2c0d37',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d37;
$custom-light: #674e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d37",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 284.286,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2327,
    "c": 0.08272,
    "h": 316
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#2C0D37
secondary
#3F722D
accent
#E5436D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0D37

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

Preview Lab → · Contrast checker → · Palette generator →

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