#2C0B37#2C0B37

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

Color values

HEX#2C0B37
RGBrgb(44, 11, 55)
HSLhsl(285, 67%, 13%)
HSVhsv(285, 80%, 22%)
CMYKcmyk(20%, 80%, 0%, 78.4%)
CIE-LABlab(9.41, 24.93, -21.09)
CIE-LCHlch(9.41, 32.66, 319.78°)
OKLaboklab(22.99% 0.0623 -0.0592)
OKLCHoklch(22.99% 0.086 316.4)
XYZxyz(1.8479, 1.0507, 3.7192)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B37 #16370B
analogous
#160B37 #2C0B37 #370B2C
triadic
#2C0B37 #372C0B #0B372C
tetradic
#2C0B37 #37160B #16370B #0B2C37
square
#2C0B37 #37160B #16370B #0B2C37
split-complementary
#2C0B37 #2C370B #0B3716
monochromatic
#14051A #14051A #2C0B37 #55156A #7E1F9D

Accessibility & contrast

On white

17.35
#2C0B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0B37
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B37#FFFFFF#000000##FFFFFF
##2C0B371.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#0B1B36
Tritanopia (blue-blind)
#2B141F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0b37;
/* rgb */ color: rgb(44, 11, 55);
/* oklch */ color: oklch(23.0% 0.086 316.4);
Tailwind
colors: {
  custom: {
    50: '#674d6e',
    500: '#2c0b37',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b37;
$custom-light: #674d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b37",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22993,
    "c": 0.08596,
    "h": 316.4
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#2C0B37
secondary
#3C742A
accent
#EA3E69
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0B37

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

Preview Lab → · Contrast checker → · Palette generator →

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