#2C0D38#2C0D38

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

Color values

HEX#2C0D38
RGBrgb(44, 13, 56)
HSLhsl(283, 62%, 14%)
HSVhsv(283, 77%, 22%)
CMYKcmyk(21.4%, 76.8%, 0%, 78%)
CIE-LABlab(9.87, 24.11, -21.07)
CIE-LCHlch(9.87, 32.02, 318.85°)
OKLaboklab(23.35% 0.0595 -0.0592)
OKLCHoklch(23.35% 0.084 315.1)
XYZxyz(1.8963, 1.1089, 3.8548)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D38 #19380D
analogous
#160D38 #2C0D38 #380D2E
triadic
#2C0D38 #382C0D #0D382C
tetradic
#2C0D38 #38160D #19380D #0D2E38
square
#2C0D38 #38160D #19380D #0D2E38
split-complementary
#2C0D38 #2E380D #0D3816
monochromatic
#140619 #140619 #2C0D38 #53196A #7A249B

Accessibility & contrast

On white

17.19
#2C0D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D38
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D38#FFFFFF#000000##FFFFFF
##2C0D381.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#0C1C37
Tritanopia (blue-blind)
#2B1521
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0d38;
/* rgb */ color: rgb(44, 13, 56);
/* oklch */ color: oklch(23.3% 0.084 315.1);
Tailwind
colors: {
  custom: {
    50: '#674e6f',
    500: '#2c0d38',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d38;
$custom-light: #674e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d38",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 283.256,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23348,
    "c": 0.08393,
    "h": 315.1
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#2C0D38
secondary
#41732D
accent
#E54270
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0D38

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

Preview Lab → · Contrast checker → · Palette generator →

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