#2C0129#2C0129

#2C0129 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.090 H 331.4°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#2C0129
RGBrgb(44, 1, 41)
HSLhsl(304, 96%, 9%)
HSVhsv(304, 98%, 17%)
CMYKcmyk(0%, 97.7%, 6.8%, 82.7%)
CIE-LABlab(6.48, 27.10, -15.38)
CIE-LCHlch(6.48, 31.16, 330.43°)
OKLaboklab(20.5% 0.0789 -0.043)
OKLCHoklch(20.5% 0.09 331.4)
XYZxyz(1.4498, 0.7174, 2.1595)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0129 #012C04
analogous
#1A012C #2C0129 #2C0114
triadic
#2C0129 #292C01 #01292C
tetradic
#2C0129 #2C1A01 #012C04 #01142C
square
#2C0129 #2C1A01 #012C04 #01142C
split-complementary
#2C0129 #142C01 #012C1A
monochromatic
#1E011C #1E011C #2C0129 #680261 #A40499

Accessibility & contrast

On white

18.37
#2C0129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2C0129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0129
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0129#FFFFFF#000000##FFFFFF
##2C01291.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102A
Deuteranopia (green-blind)
#0E1728
Tritanopia (blue-blind)
#2E0514
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c0129;
/* rgb */ color: rgb(44, 1, 41);
/* oklch */ color: oklch(20.5% 0.090 331.4);
Tailwind
colors: {
  custom: {
    50: '#674763',
    500: '#2c0129',
    950: '#000000',
  },
}
SCSS
$custom: #2c0129;
$custom-light: #674763;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0129",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 304.186,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20495,
    "c": 0.08983,
    "h": 331.4
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

primary
#2C0129
secondary
#17721D
accent
#FF3829
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2C0129

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

Preview Lab → · Contrast checker → · Palette generator →

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