#2C0D3A#2C0D3A

#2C0D3A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.086 H 313.4°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2C0D3A
RGBrgb(44, 13, 58)
HSLhsl(281, 63%, 14%)
HSVhsv(281, 78%, 23%)
CMYKcmyk(24.1%, 77.6%, 0%, 77.3%)
CIE-LABlab(10.02, 24.63, -22.26)
CIE-LCHlch(10.02, 33.20, 317.88°)
OKLaboklab(23.51% 0.0593 -0.0627)
OKLCHoklch(23.51% 0.086 313.4)
XYZxyz(1.9462, 1.1289, 4.1175)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D3A #1B3A0D
analogous
#160D3A #2C0D3A #3A0D32
triadic
#2C0D3A #3A2C0D #0D3A2C
tetradic
#2C0D3A #3A160D #1B3A0D #0D323A
square
#2C0D3A #3A160D #1B3A0D #0D323A
split-complementary
#2C0D3A #323A0D #0D3A16
monochromatic
#130619 #130619 #2C0D3A #52186C #78239E

Accessibility & contrast

On white

17.13
#2C0D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C0D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D3A
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D3A#FFFFFF#000000##FFFFFF
##2C0D3A1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#0A1C39
Tritanopia (blue-blind)
#2B1622
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0d3a;
/* rgb */ color: rgb(44, 13, 58);
/* oklch */ color: oklch(23.5% 0.086 313.4);
Tailwind
colors: {
  custom: {
    50: '#674e70',
    500: '#2c0d3a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d3a;
$custom-light: #674e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d3a",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 281.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23508,
    "c": 0.08633,
    "h": 313.4
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#2C0D3A
secondary
#44762D
accent
#E64175
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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