#2C2236#2C2236

#2C2236 is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.3% C 0.039 H 306.9°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#2C2236
RGBrgb(44, 34, 54)
HSLhsl(270, 23%, 17%)
HSVhsv(270, 37%, 21%)
CMYKcmyk(18.5%, 37%, 0%, 78.8%)
CIE-LABlab(15.20, 9.64, -11.25)
CIE-LCHlch(15.20, 14.81, 310.60°)
OKLaboklab(27.28% 0.0232 -0.0309)
OKLCHoklch(27.28% 0.039 306.9)
XYZxyz(2.2765, 1.9459, 3.7450)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2236 #2C3622
analogous
#222236 #2C2236 #362236
triadic
#2C2236 #362C22 #22362C
tetradic
#2C2236 #362222 #2C3622 #223636
square
#2C2236 #362222 #2C3622 #223636
split-complementary
#2C2236 #363622 #223622
monochromatic
#0F0C13 #0F0C13 #2C2236 #4B3A5C #695181

Accessibility & contrast

On white

15.12
#2C2236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2C2236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2236
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2236#FFFFFF#000000##FFFFFF
##2C22361.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2637
Deuteranopia (green-blind)
#202635
Tritanopia (blue-blind)
#2B2529
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2c2236;
/* rgb */ color: rgb(44, 34, 54);
/* oklch */ color: oklch(27.3% 0.039 306.9);
Tailwind
colors: {
  custom: {
    50: '#655d6d',
    500: '#2c2236',
    950: '#000000',
  },
}
SCSS
$custom: #2c2236;
$custom-light: #655d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2236",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 270,
    "s": 22.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27276,
    "c": 0.03864,
    "h": 306.9
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#2C2236
secondary
#5A684C
accent
#BF6994
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050407
muted
#7A797A

Preview Lab

Preview with #2C2236

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

Preview Lab → · Contrast checker → · Palette generator →

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