#2C0730#2C0730

#2C0730 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.085 H 323.7°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#2C0730
RGBrgb(44, 7, 48)
HSLhsl(294, 75%, 11%)
HSVhsv(294, 85%, 19%)
CMYKcmyk(8.3%, 85.4%, 0%, 81.2%)
CIE-LABlab(8.14, 25.38, -17.99)
CIE-LCHlch(8.14, 31.11, 324.66°)
OKLaboklab(21.92% 0.0683 -0.0502)
OKLCHoklch(21.92% 0.085 323.7)
XYZxyz(1.6481, 0.9009, 2.8828)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0730 #0B3007
analogous
#170730 #2C0730 #30071F
triadic
#2C0730 #302C07 #07302C
tetradic
#2C0730 #301707 #0B3007 #071F30
square
#2C0730 #301707 #0B3007 #071F30
split-complementary
#2C0730 #1F3007 #073017
monochromatic
#18041B #18041B #2C0730 #5D0F65 #8E179B

Accessibility & contrast

On white

17.79
#2C0730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2C0730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0730
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0730#FFFFFF#000000##FFFFFF
##2C07301.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#0E192F
Tritanopia (blue-blind)
#2D0E1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0730;
/* rgb */ color: rgb(44, 7, 48);
/* oklch */ color: oklch(21.9% 0.085 323.7);
Tailwind
colors: {
  custom: {
    50: '#674a68',
    500: '#2c0730',
    950: '#000000',
  },
}
SCSS
$custom: #2c0730;
$custom-light: #674a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0730",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 294.146,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21915,
    "c": 0.08474,
    "h": 323.7
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#2C0730
secondary
#2B7023
accent
#F13749
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0730

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

Preview Lab → · Contrast checker → · Palette generator →

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