#2C2034#2C2034

#2C2034 is a dark, muted violet. Relative luminance 0.018; OKLCH L 26.7% C 0.040 H 311.2°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#2C2034
RGBrgb(44, 32, 52)
HSLhsl(276, 24%, 16%)
HSVhsv(276, 38%, 20%)
CMYKcmyk(15.4%, 38.5%, 0%, 79.6%)
CIE-LABlab(14.49, 10.51, -10.92)
CIE-LCHlch(14.49, 15.16, 313.91°)
OKLaboklab(26.7% 0.0263 -0.03)
OKLCHoklch(26.7% 0.04 311.2)
XYZxyz(2.1749, 1.8165, 3.4842)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2034 #283420
analogous
#222034 #2C2034 #342032
triadic
#2C2034 #342C20 #20342C
tetradic
#2C2034 #342220 #283420 #203234
square
#2C2034 #342220 #283420 #203234
split-complementary
#2C2034 #323420 #203422
monochromatic
#100C13 #100C13 #2C2034 #4C375A #6C4F80

Accessibility & contrast

On white

15.40
#2C2034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2C2034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2034
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2034#FFFFFF#000000##FFFFFF
##2C20341.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2435
Deuteranopia (green-blind)
#1F2533
Tritanopia (blue-blind)
#2B2327
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c2034;
/* rgb */ color: rgb(44, 32, 52);
/* oklch */ color: oklch(26.7% 0.040 311.2);
Tailwind
colors: {
  custom: {
    50: '#655b6b',
    500: '#2c2034',
    950: '#000000',
  },
}
SCSS
$custom: #2c2034;
$custom-light: #655b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2034",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 52
  },
  "hsl": {
    "h": 276,
    "s": 23.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26703,
    "c": 0.03986,
    "h": 311.2
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#2C2034
secondary
#556749
accent
#C0688B
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C2034

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

Preview Lab → · Contrast checker → · Palette generator →

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