#2C243C#2C243C

#2C243C is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.1% C 0.044 H 298.8°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#2C243C
RGBrgb(44, 36, 60)
HSLhsl(260, 25%, 19%)
HSVhsv(260, 40%, 24%)
CMYKcmyk(26.7%, 40%, 0%, 76.5%)
CIE-LABlab(16.12, 9.94, -14.04)
CIE-LCHlch(16.12, 17.20, 305.31°)
OKLaboklab(28.08% 0.0214 -0.0389)
OKLCHoklch(28.08% 0.044 298.8)
XYZxyz(2.4850, 2.1235, 4.5530)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C243C #343C24
analogous
#24283C #2C243C #38243C
triadic
#2C243C #3C2C24 #243C2C
tetradic
#2C243C #3C2428 #343C24 #243C38
square
#2C243C #3C2428 #343C24 #243C38
split-complementary
#2C243C #3C3824 #283C24
monochromatic
#0E0B13 #100D16 #2C243C #483B62 #645289

Accessibility & contrast

On white

14.74
#2C243C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C243C
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C243C#FFFFFF#000000##FFFFFF
##2C243C1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283D
Deuteranopia (green-blind)
#20283B
Tritanopia (blue-blind)
#29282D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c243c;
/* rgb */ color: rgb(44, 36, 60);
/* oklch */ color: oklch(28.1% 0.044 298.8);
Tailwind
colors: {
  custom: {
    50: '#655e71',
    500: '#2c243c',
    950: '#000000',
  },
}
SCSS
$custom: #2c243c;
$custom-light: #655e71;
$custom-dark: #000000;
JSON
{
  "hex": "#2c243c",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 60
  },
  "hsl": {
    "h": 260,
    "s": 25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28082,
    "c": 0.04442,
    "h": 298.8
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#2C243C
secondary
#636E4D
accent
#C166A3
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2C243C

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

Preview Lab → · Contrast checker → · Palette generator →

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