#2C2438#2C2438

#2C2438 is a dark, muted violet. Relative luminance 0.021; OKLCH L 27.9% C 0.038 H 302.4°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#2C2438
RGBrgb(44, 36, 56)
HSLhsl(264, 22%, 18%)
HSVhsv(264, 36%, 22%)
CMYKcmyk(21.4%, 35.7%, 0%, 78%)
CIE-LABlab(15.92, 8.78, -11.55)
CIE-LCHlch(15.92, 14.51, 307.23°)
OKLaboklab(27.86% 0.0202 -0.0318)
OKLCHoklch(27.86% 0.038 302.4)
XYZxyz(2.3832, 2.0827, 4.0171)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2438 #303824
analogous
#242638 #2C2438 #362438
triadic
#2C2438 #382C24 #24382C
tetradic
#2C2438 #382426 #303824 #243836
square
#2C2438 #382426 #303824 #243836
split-complementary
#2C2438 #383624 #263824
monochromatic
#0F0C13 #0F0C13 #2C2438 #493C5D #675483

Accessibility & contrast

On white

14.82
#2C2438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2438
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2438#FFFFFF#000000##FFFFFF
##2C24381.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202739
Deuteranopia (green-blind)
#212837
Tritanopia (blue-blind)
#2A272B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c2438;
/* rgb */ color: rgb(44, 36, 56);
/* oklch */ color: oklch(27.9% 0.038 302.4);
Tailwind
colors: {
  custom: {
    50: '#655e6e',
    500: '#2c2438',
    950: '#000000',
  },
}
SCSS
$custom: #2c2438;
$custom-light: #655e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2438",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 56
  },
  "hsl": {
    "h": 264,
    "s": 21.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27856,
    "c": 0.03766,
    "h": 302.4
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#2C2438
secondary
#5F6A4E
accent
#BE6A9C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2C2438

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

Preview Lab → · Contrast checker → · Palette generator →

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