#2C0A28#2C0A28

#2C0A28 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.071 H 332.7°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2C0A28
RGBrgb(44, 10, 40)
HSLhsl(307, 63%, 11%)
HSVhsv(307, 77%, 17%)
CMYKcmyk(0%, 77.3%, 9.1%, 82.7%)
CIE-LABlab(8.18, 22.02, -11.95)
CIE-LCHlch(8.18, 25.06, 331.51°)
OKLaboklab(21.77% 0.0633 -0.0327)
OKLCHoklch(21.77% 0.071 332.7)
XYZxyz(1.5303, 0.9059, 2.1013)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A28 #0A2C0E
analogous
#1F0A2C #2C0A28 #2C0A17
triadic
#2C0A28 #282C0A #0A282C
tetradic
#2C0A28 #2C1F0A #0A2C0E #0A172C
square
#2C0A28 #2C1F0A #0A2C0E #0A172C
split-complementary
#2C0A28 #172C0A #0A2C1F
monochromatic
#190617 #190617 #2C0A28 #5E1555 #902183

Accessibility & contrast

On white

17.78
#2C0A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0A28
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A28#FFFFFF#000000##FFFFFF
##2C0A281.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091529
Deuteranopia (green-blind)
#141A27
Tritanopia (blue-blind)
#2E0D17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0a28;
/* rgb */ color: rgb(44, 10, 40);
/* oklch */ color: oklch(21.8% 0.071 332.7);
Tailwind
colors: {
  custom: {
    50: '#674c62',
    500: '#2c0a28',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a28;
$custom-light: #674c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a28",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 40
  },
  "hsl": {
    "h": 307.059,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21773,
    "c": 0.07123,
    "h": 332.7
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#2C0A28
secondary
#296930
accent
#E65542
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0A28

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

Preview Lab → · Contrast checker → · Palette generator →

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