#2C293A#2C293A

#2C293A is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.2% C 0.031 H 292.5°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#2C293A
RGBrgb(44, 41, 58)
HSLhsl(251, 17%, 19%)
HSVhsv(251, 29%, 23%)
CMYKcmyk(24.1%, 29.3%, 0%, 77.3%)
CIE-LABlab(17.58, 5.80, -10.38)
CIE-LCHlch(17.58, 11.89, 299.20°)
OKLaboklab(29.17% 0.0118 -0.0285)
OKLCHoklch(29.17% 0.031 292.5)
XYZxyz(2.5952, 2.4268, 4.3339)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C293A #373A29
analogous
#292F3A #2C293A #35293A
triadic
#2C293A #3A2C29 #293A2C
tetradic
#2C293A #3A292F #373A29 #293A35
square
#2C293A #3A292F #373A29 #293A35
split-complementary
#2C293A #3A3529 #2F3A29
monochromatic
#0E0D12 #111016 #2C293A #47425E #625C82

Accessibility & contrast

On white

14.14
#2C293A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2C293A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C293A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C293A#FFFFFF#000000##FFFFFF
##2C293A1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3B
Deuteranopia (green-blind)
#252B3A
Tritanopia (blue-blind)
#292C2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2c293a;
/* rgb */ color: rgb(44, 41, 58);
/* oklch */ color: oklch(29.2% 0.031 292.5);
Tailwind
colors: {
  custom: {
    50: '#656270',
    500: '#2c293a',
    950: '#000000',
  },
}
SCSS
$custom: #2c293a;
$custom-light: #656270;
$custom-dark: #000000;
JSON
{
  "hex": "#2c293a",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 58
  },
  "hsl": {
    "h": 250.588,
    "s": 17.172,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29173,
    "c": 0.03085,
    "h": 292.5
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#2C293A
secondary
#676B54
accent
#BA6EAC
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#050507
muted
#7A797A

Preview Lab

Preview with #2C293A

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

Preview Lab → · Contrast checker → · Palette generator →

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