#2C0939#2C0939

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

Color values

HEX#2C0939
RGBrgb(44, 9, 57)
HSLhsl(284, 73%, 13%)
HSVhsv(284, 84%, 22%)
CMYKcmyk(22.8%, 84.2%, 0%, 77.6%)
CIE-LABlab(9.21, 26.44, -22.85)
CIE-LCHlch(9.21, 34.95, 319.16°)
OKLaboklab(22.9% 0.0646 -0.0644)
OKLCHoklch(22.9% 0.091 315.1)
XYZxyz(1.8748, 1.0263, 3.9694)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0939 #163909
analogous
#140939 #2C0939 #39092E
triadic
#2C0939 #392C09 #09392C
tetradic
#2C0939 #391409 #163909 #092E39
square
#2C0939 #391409 #163909 #092E39
split-complementary
#2C0939 #2E3909 #093914
monochromatic
#14041A #14041A #2C0939 #55116E #7E1AA3

Accessibility & contrast

On white

17.42
#2C0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0939
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0939#FFFFFF#000000##FFFFFF
##2C09391.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#071B38
Tritanopia (blue-blind)
#2B1320
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0939;
/* rgb */ color: rgb(44, 9, 57);
/* oklch */ color: oklch(22.9% 0.091 315.1);
Tailwind
colors: {
  custom: {
    50: '#674c70',
    500: '#2c0939',
    950: '#000000',
  },
}
SCSS
$custom: #2c0939;
$custom-light: #674c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0939",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 283.75,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22902,
    "c": 0.09125,
    "h": 315.1
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#2C0939
secondary
#3C7727
accent
#EF386A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0939

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

Preview Lab → · Contrast checker → · Palette generator →

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