#2C1035#2C1035

#2C1035 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.075 H 317.2°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#2C1035
RGBrgb(44, 16, 53)
HSLhsl(285, 54%, 14%)
HSVhsv(285, 70%, 21%)
CMYKcmyk(17%, 69.8%, 0%, 79.2%)
CIE-LABlab(10.28, 21.61, -18.24)
CIE-LCHlch(10.28, 28.28, 319.83°)
OKLaboklab(23.58% 0.055 -0.051)
OKLCHoklch(23.58% 0.075 317.2)
XYZxyz(1.8665, 1.1632, 3.4937)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1035 #193510
analogous
#191035 #2C1035 #35102B
triadic
#2C1035 #352C10 #10352C
tetradic
#2C1035 #351910 #193510 #102B35
square
#2C1035 #351910 #193510 #102B35
split-complementary
#2C1035 #2B3510 #103519
monochromatic
#140718 #140718 #2C1035 #531E64 #7A2C93

Accessibility & contrast

On white

17.04
#2C1035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1035
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1035#FFFFFF#000000##FFFFFF
##2C10351.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A36
Deuteranopia (green-blind)
#111D34
Tritanopia (blue-blind)
#2C1620
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c1035;
/* rgb */ color: rgb(44, 16, 53);
/* oklch */ color: oklch(23.6% 0.075 317.2);
Tailwind
colors: {
  custom: {
    50: '#66506c',
    500: '#2c1035',
    950: '#000000',
  },
}
SCSS
$custom: #2c1035;
$custom-light: #66506c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1035",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 285.405,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23579,
    "c": 0.07497,
    "h": 317.2
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#2C1035
secondary
#416F32
accent
#DD4B6E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C1035

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

Preview Lab → · Contrast checker → · Palette generator →

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