#2C1034#2C1034

#2C1034 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.5% C 0.074 H 318.2°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#2C1034
RGBrgb(44, 16, 52)
HSLhsl(287, 53%, 13%)
HSVhsv(287, 69%, 20%)
CMYKcmyk(15.4%, 69.2%, 0%, 79.6%)
CIE-LABlab(10.21, 21.35, -17.62)
CIE-LCHlch(10.21, 27.68, 320.47°)
OKLaboklab(23.51% 0.0549 -0.0492)
OKLCHoklch(23.51% 0.074 318.2)
XYZxyz(1.8437, 1.1541, 3.3738)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1034 #183410
analogous
#1A1034 #2C1034 #34102A
triadic
#2C1034 #342C10 #10342C
tetradic
#2C1034 #341A10 #183410 #102A34
square
#2C1034 #341A10 #183410 #102A34
split-complementary
#2C1034 #2A3410 #10341A
monochromatic
#140717 #140717 #2C1034 #541E63 #7B2D92

Accessibility & contrast

On white

17.06
#2C1034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C1034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1034
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1034#FFFFFF#000000##FFFFFF
##2C10341.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#121D33
Tritanopia (blue-blind)
#2C1620
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c1034;
/* rgb */ color: rgb(44, 16, 52);
/* oklch */ color: oklch(23.5% 0.074 318.2);
Tailwind
colors: {
  custom: {
    50: '#66506b',
    500: '#2c1034',
    950: '#000000',
  },
}
SCSS
$custom: #2c1034;
$custom-light: #66506b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1034",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 286.667,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23506,
    "c": 0.07372,
    "h": 318.2
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#2C1034
secondary
#3F6E32
accent
#DC4B6C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C1034

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

Preview Lab → · Contrast checker → · Palette generator →

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