#2C0A34#2C0A34

#2C0A34 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.084 H 319.4°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#2C0A34
RGBrgb(44, 10, 52)
HSLhsl(289, 68%, 12%)
HSVhsv(289, 81%, 20%)
CMYKcmyk(15.4%, 80.8%, 0%, 79.6%)
CIE-LABlab(9.00, 24.71, -19.56)
CIE-LCHlch(9.00, 31.52, 321.64°)
OKLaboklab(22.63% 0.0638 -0.0548)
OKLCHoklch(22.63% 0.084 319.4)
XYZxyz(1.7670, 1.0006, 3.3482)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A34 #12340A
analogous
#170A34 #2C0A34 #340A27
triadic
#2C0A34 #342C0A #0A342C
tetradic
#2C0A34 #34170A #12340A #0A2734
square
#2C0A34 #34170A #12340A #0A2734
split-complementary
#2C0A34 #27340A #0A3417
monochromatic
#16051A #16051A #2C0A34 #571467 #831E9B

Accessibility & contrast

On white

17.50
#2C0A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0A34
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A34#FFFFFF#000000##FFFFFF
##2C0A341.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#0D1B33
Tritanopia (blue-blind)
#2C121E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0a34;
/* rgb */ color: rgb(44, 10, 52);
/* oklch */ color: oklch(22.6% 0.084 319.4);
Tailwind
colors: {
  custom: {
    50: '#674c6c',
    500: '#2c0a34',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a34;
$custom-light: #674c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a34",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 288.571,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22625,
    "c": 0.08411,
    "h": 319.4
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#2C0A34
secondary
#367128
accent
#EB3D5E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0A34

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

Preview Lab → · Contrast checker → · Palette generator →

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