#2C0127#2C0127

#2C0127 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.088 H 333.6°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#2C0127
RGBrgb(44, 1, 39)
HSLhsl(307, 96%, 9%)
HSVhsv(307, 98%, 17%)
CMYKcmyk(0%, 97.7%, 11.4%, 82.7%)
CIE-LABlab(6.36, 26.66, -14.05)
CIE-LCHlch(6.36, 30.13, 332.21°)
OKLaboklab(20.35% 0.0789 -0.0392)
OKLCHoklch(20.35% 0.088 333.6)
XYZxyz(1.4158, 0.7038, 1.9803)
Luminance0.0070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0127 #012C06
analogous
#1C012C #2C0127 #2C0112
triadic
#2C0127 #272C01 #01272C
tetradic
#2C0127 #2C1C01 #012C06 #01122C
square
#2C0127 #2C1C01 #012C06 #01122C
split-complementary
#2C0127 #122C01 #012C1C
monochromatic
#1E011B #1E011B #2C0127 #68025C #A40491

Accessibility & contrast

On white

18.41
#2C0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0127
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0127#FFFFFF#000000##FFFFFF
##2C01271.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001028
Deuteranopia (green-blind)
#0F1626
Tritanopia (blue-blind)
#2F0413
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c0127;
/* rgb */ color: rgb(44, 1, 39);
/* oklch */ color: oklch(20.3% 0.088 333.6);
Tailwind
colors: {
  custom: {
    50: '#674761',
    500: '#2c0127',
    950: '#000000',
  },
}
SCSS
$custom: #2c0127;
$custom-light: #674761;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0127",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 306.977,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20349,
    "c": 0.08815,
    "h": 333.6
  },
  "luminance": 0.00704
}

Semantic roles & 50–950 ramp

primary
#2C0127
secondary
#177221
accent
#FF4229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060005
muted
#7A7779

Preview Lab

Preview with #2C0127

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

Preview Lab → · Contrast checker → · Palette generator →

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