#2C0830#2C0830

#2C0830 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.083 H 323.6°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#2C0830
RGBrgb(44, 8, 48)
HSLhsl(294, 71%, 11%)
HSVhsv(294, 83%, 19%)
CMYKcmyk(8.3%, 83.3%, 0%, 81.2%)
CIE-LABlab(8.33, 24.83, -17.69)
CIE-LCHlch(8.33, 30.49, 324.54°)
OKLaboklab(22.05% 0.0668 -0.0493)
OKLCHoklch(22.05% 0.083 323.6)
XYZxyz(1.6590, 0.9226, 2.8864)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0830 #0C3008
analogous
#180830 #2C0830 #300820
triadic
#2C0830 #302C08 #08302C
tetradic
#2C0830 #301808 #0C3008 #082030
square
#2C0830 #301808 #0C3008 #082030
split-complementary
#2C0830 #203008 #083018
monochromatic
#18041A #18041A #2C0830 #5C1164 #8C1999

Accessibility & contrast

On white

17.73
#2C0830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0830
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0830#FFFFFF#000000##FFFFFF
##2C08301.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011531
Deuteranopia (green-blind)
#0F1A2F
Tritanopia (blue-blind)
#2D0F1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0830;
/* rgb */ color: rgb(44, 8, 48);
/* oklch */ color: oklch(22.1% 0.083 323.6);
Tailwind
colors: {
  custom: {
    50: '#674b68',
    500: '#2c0830',
    950: '#000000',
  },
}
SCSS
$custom: #2c0830;
$custom-light: #674b68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0830",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 294,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22052,
    "c": 0.08301,
    "h": 323.6
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#2C0830
secondary
#2C6F25
accent
#EE3A4C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0830

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

Preview Lab → · Contrast checker → · Palette generator →

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