#2C022F#2C022F

#2C022F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.093 H 325.3°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#2C022F
RGBrgb(44, 2, 47)
HSLhsl(296, 92%, 10%)
HSVhsv(296, 96%, 18%)
CMYKcmyk(6.4%, 95.7%, 0%, 81.6%)
CIE-LABlab(7.08, 27.93, -18.93)
CIE-LCHlch(7.08, 33.75, 325.87°)
OKLaboklab(21.12% 0.0765 -0.053)
OKLCHoklch(21.12% 0.093 325.3)
XYZxyz(1.5735, 0.7842, 2.7573)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C022F #052F02
analogous
#16022F #2C022F #2F021C
triadic
#2C022F #2F2C02 #022F2C
tetradic
#2C022F #2F1602 #052F02 #021C2F
square
#2C022F #2F1602 #052F02 #021C2F
split-complementary
#2C022F #1C2F02 #022F16
monochromatic
#1B011D #1B011D #2C022F #63046A #9A07A4

Accessibility & contrast

On white

18.15
#2C022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2C022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C022F
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C022F#FFFFFF#000000##FFFFFF
##2C022F1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#0B172E
Tritanopia (blue-blind)
#2D0918
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c022f;
/* rgb */ color: rgb(44, 2, 47);
/* oklch */ color: oklch(21.1% 0.093 325.3);
Tailwind
colors: {
  custom: {
    50: '#674868',
    500: '#2c022f',
    950: '#000000',
  },
}
SCSS
$custom: #2c022f;
$custom-light: #674868;
$custom-dark: #000000;
JSON
{
  "hex": "#2c022f",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 296,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21117,
    "c": 0.09304,
    "h": 325.3
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#2C022F
secondary
#1F7419
accent
#FF2937
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2C022F

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

Preview Lab → · Contrast checker → · Palette generator →

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