#2C0837#2C0837

#2C0837 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.091 H 317.0°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#2C0837
RGBrgb(44, 8, 55)
HSLhsl(286, 75%, 12%)
HSVhsv(286, 85%, 22%)
CMYKcmyk(20%, 85.5%, 0%, 78.4%)
CIE-LABlab(8.87, 26.46, -21.95)
CIE-LCHlch(8.87, 34.38, 320.32°)
OKLaboklab(22.61% 0.0662 -0.0618)
OKLCHoklch(22.61% 0.091 317)
XYZxyz(1.8150, 0.9851, 3.7082)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0837 #133708
analogous
#140837 #2C0837 #37082B
triadic
#2C0837 #372C08 #08372C
tetradic
#2C0837 #371408 #133708 #082B37
square
#2C0837 #371408 #133708 #082B37
split-complementary
#2C0837 #2B3708 #083714
monochromatic
#15041B #15041B #2C0837 #57106C #8118A2

Accessibility & contrast

On white

17.54
#2C0837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2C0837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0837
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0837#FFFFFF#000000##FFFFFF
##2C08371.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#091A36
Tritanopia (blue-blind)
#2B121F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0837;
/* rgb */ color: rgb(44, 8, 55);
/* oklch */ color: oklch(22.6% 0.091 317.0);
Tailwind
colors: {
  custom: {
    50: '#674b6e',
    500: '#2c0837',
    950: '#000000',
  },
}
SCSS
$custom: #2c0837;
$custom-light: #674b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0837",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 285.957,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22607,
    "c": 0.09056,
    "h": 317
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#2C0837
secondary
#387625
accent
#F13762
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0837

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

Preview Lab → · Contrast checker → · Palette generator →

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