#2C2136#2C2136

#2C2136 is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.0% C 0.041 H 307.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#2C2136
RGBrgb(44, 33, 54)
HSLhsl(271, 24%, 17%)
HSVhsv(271, 39%, 21%)
CMYKcmyk(18.5%, 38.9%, 0%, 78.8%)
CIE-LABlab(14.90, 10.36, -11.72)
CIE-LCHlch(14.90, 15.64, 311.47°)
OKLaboklab(27.04% 0.025 -0.0322)
OKLCHoklch(27.04% 0.041 307.8)
XYZxyz(2.2483, 1.8895, 3.7356)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2136 #2B3621
analogous
#222136 #2C2136 #362136
triadic
#2C2136 #362C21 #21362C
tetradic
#2C2136 #362221 #2B3621 #213636
square
#2C2136 #362221 #2B3621 #213636
split-complementary
#2C2136 #363621 #213622
monochromatic
#0F0C13 #0F0C13 #2C2136 #4B385C #6A4F82

Accessibility & contrast

On white

15.24
#2C2136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2C2136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2136
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2136#FFFFFF#000000##FFFFFF
##2C21361.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2537
Deuteranopia (green-blind)
#1F2635
Tritanopia (blue-blind)
#2B2429
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c2136;
/* rgb */ color: rgb(44, 33, 54);
/* oklch */ color: oklch(27.0% 0.041 307.8);
Tailwind
colors: {
  custom: {
    50: '#655c6d',
    500: '#2c2136',
    950: '#000000',
  },
}
SCSS
$custom: #2c2136;
$custom-light: #655c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2136",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 271.429,
    "s": 24.138,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27044,
    "c": 0.04083,
    "h": 307.8
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#2C2136
secondary
#59694A
accent
#C16792
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050407
muted
#7A797A

Preview Lab

Preview with #2C2136

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

Preview Lab → · Contrast checker → · Palette generator →

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