#2C0B3A#2C0B3A

#2C0B3A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.089 H 313.9°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2C0B3A
RGBrgb(44, 11, 58)
HSLhsl(282, 68%, 14%)
HSVhsv(282, 81%, 23%)
CMYKcmyk(24.1%, 81%, 0%, 77.3%)
CIE-LABlab(9.64, 25.69, -22.87)
CIE-LCHlch(9.64, 34.39, 318.31°)
OKLaboklab(23.24% 0.062 -0.0645)
OKLCHoklch(23.24% 0.089 313.9)
XYZxyz(1.9220, 1.0804, 4.1095)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B3A #193A0B
analogous
#140B3A #2C0B3A #3A0B30
triadic
#2C0B3A #3A2C0B #0B3A2C
tetradic
#2C0B3A #3A140B #193A0B #0B303A
square
#2C0B3A #3A140B #193A0B #0B303A
split-complementary
#2C0B3A #303A0B #0B3A14
monochromatic
#14051A #14051A #2C0B3A #53156D #7A1FA1

Accessibility & contrast

On white

17.27
#2C0B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0B3A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B3A#FFFFFF#000000##FFFFFF
##2C0B3A1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#081C39
Tritanopia (blue-blind)
#2B1521
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0b3a;
/* rgb */ color: rgb(44, 11, 58);
/* oklch */ color: oklch(23.2% 0.089 313.9);
Tailwind
colors: {
  custom: {
    50: '#674d70',
    500: '#2c0b3a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b3a;
$custom-light: #674d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b3a",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 282.128,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23238,
    "c": 0.08945,
    "h": 313.9
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#2C0B3A
secondary
#41772A
accent
#EB3D71
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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