#2C223C#2C223C

#2C223C is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.6% C 0.049 H 301.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#2C223C
RGBrgb(44, 34, 60)
HSLhsl(263, 28%, 18%)
HSVhsv(263, 43%, 24%)
CMYKcmyk(26.7%, 43.3%, 0%, 76.5%)
CIE-LABlab(15.52, 11.37, -14.98)
CIE-LCHlch(15.52, 18.80, 307.20°)
OKLaboklab(27.62% 0.025 -0.0416)
OKLCHoklch(27.62% 0.049 301)
XYZxyz(2.4262, 2.0058, 4.5334)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C223C #323C22
analogous
#22253C #2C223C #39223C
triadic
#2C223C #3C2C22 #223C2C
tetradic
#2C223C #3C2225 #323C22 #223C39
square
#2C223C #3C2225 #323C22 #223C39
split-complementary
#2C223C #3C3922 #253C22
monochromatic
#0E0B14 #0F0C15 #2C223C #493863 #654E8A

Accessibility & contrast

On white

14.99
#2C223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2C223C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C223C
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C223C#FFFFFF#000000##FFFFFF
##2C223C1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273D
Deuteranopia (green-blind)
#1E273B
Tritanopia (blue-blind)
#29262C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c223c;
/* rgb */ color: rgb(44, 34, 60);
/* oklch */ color: oklch(27.6% 0.049 301.0);
Tailwind
colors: {
  custom: {
    50: '#655d72',
    500: '#2c223c',
    950: '#000000',
  },
}
SCSS
$custom: #2c223c;
$custom-light: #655d72;
$custom-dark: #000000;
JSON
{
  "hex": "#2c223c",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 263.077,
    "s": 27.66,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27622,
    "c": 0.04854,
    "h": 301
  },
  "luminance": 0.02006
}

Semantic roles & 50–950 ramp

primary
#2C223C
secondary
#616F4B
accent
#C4649F
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2C223C

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

Preview Lab → · Contrast checker → · Palette generator →

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