#2C0125#2C0125

#2C0125 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.087 H 335.8°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#2C0125
RGBrgb(44, 1, 37)
HSLhsl(310, 96%, 9%)
HSVhsv(310, 98%, 17%)
CMYKcmyk(0%, 97.7%, 15.9%, 82.7%)
CIE-LABlab(6.24, 26.22, -12.70)
CIE-LCHlch(6.24, 29.13, 334.15°)
OKLaboklab(20.21% 0.0789 -0.0355)
OKLCHoklch(20.21% 0.087 335.8)
XYZxyz(1.3835, 0.6909, 1.8104)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0125 #012C08
analogous
#1E012C #2C0125 #2C0110
triadic
#2C0125 #252C01 #01252C
tetradic
#2C0125 #2C1E01 #012C08 #01102C
square
#2C0125 #2C1E01 #012C08 #01102C
split-complementary
#2C0125 #102C01 #012C1E
monochromatic
#1E0119 #1E0119 #2C0125 #680257 #A4048A

Accessibility & contrast

On white

18.45
#2C0125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0125
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0125#FFFFFF#000000##FFFFFF
##2C01251.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010F26
Deuteranopia (green-blind)
#101624
Tritanopia (blue-blind)
#2F0312
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c0125;
/* rgb */ color: rgb(44, 1, 37);
/* oklch */ color: oklch(20.2% 0.087 335.8);
Tailwind
colors: {
  custom: {
    50: '#67475f',
    500: '#2c0125',
    950: '#000000',
  },
}
SCSS
$custom: #2c0125;
$custom-light: #67475f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0125",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 37
  },
  "hsl": {
    "h": 309.767,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20208,
    "c": 0.08651,
    "h": 335.8
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#2C0125
secondary
#177226
accent
#FF4C29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2C0125

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

Preview Lab → · Contrast checker → · Palette generator →

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