#2C2230#2C2230

#2C2230 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.0% C 0.029 H 316.2°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#2C2230
RGBrgb(44, 34, 48)
HSLhsl(283, 17%, 16%)
HSVhsv(283, 29%, 19%)
CMYKcmyk(8.3%, 29.2%, 0%, 81.2%)
CIE-LABlab(14.92, 8.02, -7.43)
CIE-LCHlch(14.92, 10.93, 317.21°)
OKLaboklab(26.96% 0.021 -0.0201)
OKLCHoklch(26.96% 0.029 316.2)
XYZxyz(2.1442, 1.8930, 3.0482)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2230 #263022
analogous
#252230 #2C2230 #30222D
triadic
#2C2230 #302C22 #22302C
tetradic
#2C2230 #302522 #263022 #222D30
square
#2C2230 #302522 #263022 #222D30
split-complementary
#2C2230 #2D3022 #223025
monochromatic
#100D12 #100D12 #2C2230 #4D3B54 #6E5578

Accessibility & contrast

On white

15.23
#2C2230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2230
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2230#FFFFFF#000000##FFFFFF
##2C22301.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202531
Deuteranopia (green-blind)
#222630
Tritanopia (blue-blind)
#2C2427
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c2230;
/* rgb */ color: rgb(44, 34, 48);
/* oklch */ color: oklch(27.0% 0.029 316.2);
Tailwind
colors: {
  custom: {
    50: '#655d68',
    500: '#2c2230',
    950: '#000000',
  },
}
SCSS
$custom: #2c2230;
$custom-light: #655d68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2230",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 282.857,
    "s": 17.073,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26963,
    "c": 0.0291,
    "h": 316.2
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#2C2230
secondary
#52614D
accent
#BA6E84
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C2230

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

Preview Lab → · Contrast checker → · Palette generator →

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