#2C0A36#2C0A36

#2C0A36 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.086 H 317.5°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#2C0A36
RGBrgb(44, 10, 54)
HSLhsl(286, 69%, 13%)
HSVhsv(286, 81%, 21%)
CMYKcmyk(18.5%, 81.5%, 0%, 78.8%)
CIE-LABlab(9.15, 25.20, -20.78)
CIE-LCHlch(9.15, 32.66, 320.49°)
OKLaboklab(22.78% 0.0637 -0.0583)
OKLCHoklch(22.78% 0.086 317.5)
XYZxyz(1.8130, 1.0190, 3.5905)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A36 #14360A
analogous
#160A36 #2C0A36 #360A2A
triadic
#2C0A36 #362C0A #0A362C
tetradic
#2C0A36 #36160A #14360A #0A2A36
square
#2C0A36 #36160A #14360A #0A2A36
split-complementary
#2C0A36 #2A360A #0A3616
monochromatic
#15051A #15051A #2C0A36 #56146A #801D9D

Accessibility & contrast

On white

17.44
#2C0A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0A36
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A36#FFFFFF#000000##FFFFFF
##2C0A361.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#0B1B35
Tritanopia (blue-blind)
#2C131F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0a36;
/* rgb */ color: rgb(44, 10, 54);
/* oklch */ color: oklch(22.8% 0.086 317.5);
Tailwind
colors: {
  custom: {
    50: '#674c6d',
    500: '#2c0a36',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a36;
$custom-light: #674c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a36",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 286.364,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22783,
    "c": 0.08636,
    "h": 317.5
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#2C0A36
secondary
#397328
accent
#EC3C64
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0A36

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

Preview Lab → · Contrast checker → · Palette generator →

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