#2C0A32#2C0A32

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

Color values

HEX#2C0A32
RGBrgb(44, 10, 50)
HSLhsl(291, 67%, 12%)
HSVhsv(291, 80%, 20%)
CMYKcmyk(12%, 80%, 0%, 80.4%)
CIE-LABlab(8.85, 24.24, -18.33)
CIE-LCHlch(8.85, 30.39, 322.90°)
OKLaboklab(22.47% 0.0639 -0.0512)
OKLCHoklch(22.47% 0.082 321.3)
XYZxyz(1.7229, 0.9829, 3.1160)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A32 #10320A
analogous
#180A32 #2C0A32 #320A24
triadic
#2C0A32 #322C0A #0A322C
tetradic
#2C0A32 #32180A #10320A #0A2432
square
#2C0A32 #32180A #10320A #0A2432
split-complementary
#2C0A32 #24320A #0A3218
monochromatic
#16051A #16051A #2C0A32 #591465 #861E98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0A32#FFFFFF#000000##FFFFFF
##2C0A321.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)
#021733
Deuteranopia (green-blind)
#0F1A31
Tritanopia (blue-blind)
#2C111C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0a32;
/* rgb */ color: rgb(44, 10, 50);
/* oklch */ color: oklch(22.5% 0.082 321.3);
Tailwind
colors: {
  custom: {
    50: '#674c6a',
    500: '#2c0a32',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a32;
$custom-light: #674c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a32",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 50
  },
  "hsl": {
    "h": 291,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22472,
    "c": 0.08187,
    "h": 321.3
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#2C0A32
secondary
#336F28
accent
#EA3E58
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0A32

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

Preview Lab → · Contrast checker → · Palette generator →

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