#2C293B#2C293B

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

Color values

HEX#2C293B
RGBrgb(44, 41, 59)
HSLhsl(250, 18%, 20%)
HSVhsv(250, 31%, 23%)
CMYKcmyk(25.4%, 30.5%, 0%, 76.9%)
CIE-LABlab(17.63, 6.09, -11.00)
CIE-LCHlch(17.63, 12.58, 298.97°)
OKLaboklab(29.23% 0.0122 -0.0303)
OKLCHoklch(29.23% 0.033 291.9)
XYZxyz(2.6209, 2.4371, 4.4691)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C293B #383B29
analogous
#292F3B #2C293B #35293B
triadic
#2C293B #3B2C29 #293B2C
tetradic
#2C293B #3B292F #383B29 #293B35
square
#2C293B #3B292F #383B29 #293B35
split-complementary
#2C293B #3B3529 #2F3B29
monochromatic
#0D0D12 #111017 #2C293B #47425F #625B83

Accessibility & contrast

On white

14.12
#2C293B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C293B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C293B#FFFFFF#000000##FFFFFF
##2C293B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c293b;
/* rgb */ color: rgb(44, 41, 59);
/* oklch */ color: oklch(29.2% 0.033 291.9);
Tailwind
colors: {
  custom: {
    50: '#656271',
    500: '#2c293b',
    950: '#000000',
  },
}
SCSS
$custom: #2c293b;
$custom-light: #656271;
$custom-dark: #000000;
JSON
{
  "hex": "#2c293b",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 250,
    "s": 18,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29225,
    "c": 0.03263,
    "h": 291.9
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#2C293B
secondary
#686C54
accent
#BB6DAE
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#050507
muted
#7A797A

Preview Lab

Preview with #2C293B

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

Preview Lab → · Contrast checker → · Palette generator →

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