#2C243A#2C243A

#2C243A is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.0% C 0.041 H 300.5°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#2C243A
RGBrgb(44, 36, 58)
HSLhsl(262, 23%, 18%)
HSVhsv(262, 38%, 23%)
CMYKcmyk(24.1%, 37.9%, 0%, 77.3%)
CIE-LABlab(16.02, 9.35, -12.80)
CIE-LCHlch(16.02, 15.85, 306.16°)
OKLaboklab(27.97% 0.0208 -0.0354)
OKLCHoklch(27.97% 0.041 300.5)
XYZxyz(2.4331, 2.1027, 4.2798)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C243A #323A24
analogous
#24273A #2C243A #37243A
triadic
#2C243A #3A2C24 #243A2C
tetradic
#2C243A #3A2427 #323A24 #243A37
square
#2C243A #3A2427 #323A24 #243A37
split-complementary
#2C243A #3A3724 #273A24
monochromatic
#0E0C13 #0F0D14 #2C243A #493B60 #655386

Accessibility & contrast

On white

14.78
#2C243A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2C243A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C243A
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C243A#FFFFFF#000000##FFFFFF
##2C243A1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283B
Deuteranopia (green-blind)
#202839
Tritanopia (blue-blind)
#2A272C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c243a;
/* rgb */ color: rgb(44, 36, 58);
/* oklch */ color: oklch(28.0% 0.041 300.5);
Tailwind
colors: {
  custom: {
    50: '#655e70',
    500: '#2c243a',
    950: '#000000',
  },
}
SCSS
$custom: #2c243a;
$custom-light: #655e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c243a",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 58
  },
  "hsl": {
    "h": 261.818,
    "s": 23.404,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27968,
    "c": 0.04103,
    "h": 300.5
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#2C243A
secondary
#616C4E
accent
#C068A0
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2C243A

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

Preview Lab → · Contrast checker → · Palette generator →

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