#2C0739#2C0739

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

Color values

HEX#2C0739
RGBrgb(44, 7, 57)
HSLhsl(284, 78%, 13%)
HSVhsv(284, 88%, 22%)
CMYKcmyk(22.8%, 87.7%, 0%, 77.6%)
CIE-LABlab(8.85, 27.47, -23.43)
CIE-LCHlch(8.85, 36.11, 319.53°)
OKLaboklab(22.65% 0.0672 -0.0661)
OKLCHoklch(22.65% 0.094 315.5)
XYZxyz(1.8531, 0.9829, 3.9622)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0739 #143907
analogous
#130739 #2C0739 #39072D
triadic
#2C0739 #392C07 #07392C
tetradic
#2C0739 #391307 #143907 #072D39
square
#2C0739 #391307 #143907 #072D39
split-complementary
#2C0739 #2D3907 #073913
monochromatic
#15031B #15031B #2C0739 #560E70 #8014A6

Accessibility & contrast

On white

17.55
#2C0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0739
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0739#FFFFFF#000000##FFFFFF
##2C07391.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#061A38
Tritanopia (blue-blind)
#2B121F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0739;
/* rgb */ color: rgb(44, 7, 57);
/* oklch */ color: oklch(22.6% 0.094 315.5);
Tailwind
colors: {
  custom: {
    50: '#684b70',
    500: '#2c0739',
    950: '#000000',
  },
}
SCSS
$custom: #2c0739;
$custom-light: #684b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0739",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 284.4,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22647,
    "c": 0.09428,
    "h": 315.5
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#2C0739
secondary
#397923
accent
#F53365
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0739

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

Preview Lab → · Contrast checker → · Palette generator →

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