#2C0839#2C0839

#2C0839 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.093 H 315.3°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2C0839
RGBrgb(44, 8, 57)
HSLhsl(284, 75%, 13%)
HSVhsv(284, 86%, 22%)
CMYKcmyk(22.8%, 86%, 0%, 77.6%)
CIE-LABlab(9.03, 26.95, -23.14)
CIE-LCHlch(9.03, 35.52, 319.34°)
OKLaboklab(22.78% 0.0659 -0.0652)
OKLCHoklch(22.78% 0.093 315.3)
XYZxyz(1.8639, 1.0046, 3.9658)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0839 #153908
analogous
#140839 #2C0839 #39082D
triadic
#2C0839 #392C08 #08392C
tetradic
#2C0839 #391408 #153908 #082D39
square
#2C0839 #391408 #153908 #082D39
split-complementary
#2C0839 #2D3908 #083914
monochromatic
#15041B #15041B #2C0839 #55106F #7F17A4

Accessibility & contrast

On white

17.49
#2C0839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0839
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0839#FFFFFF#000000##FFFFFF
##2C08391.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0839;
/* rgb */ color: rgb(44, 8, 57);
/* oklch */ color: oklch(22.8% 0.093 315.3);
Tailwind
colors: {
  custom: {
    50: '#674c70',
    500: '#2c0839',
    950: '#000000',
  },
}
SCSS
$custom: #2c0839;
$custom-light: #674c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0839",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 284.082,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22775,
    "c": 0.09275,
    "h": 315.3
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#2C0839
secondary
#3B7825
accent
#F23668
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0839

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

Preview Lab → · Contrast checker → · Palette generator →

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