#2C263C#2C263C

#2C263C is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.6% C 0.040 H 296.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#2C263C
RGBrgb(44, 38, 60)
HSLhsl(256, 22%, 19%)
HSVhsv(256, 37%, 24%)
CMYKcmyk(26.7%, 36.7%, 0%, 76.5%)
CIE-LABlab(16.74, 8.52, -13.08)
CIE-LCHlch(16.74, 15.61, 303.07°)
OKLaboklab(28.55% 0.0179 -0.0362)
OKLCHoklch(28.55% 0.04 296.3)
XYZxyz(2.5472, 2.2479, 4.5738)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C263C #363C26
analogous
#262B3C #2C263C #37263C
triadic
#2C263C #3C2C26 #263C2C
tetradic
#2C263C #3C262B #363C26 #263C37
square
#2C263C #3C262B #363C26 #263C37
split-complementary
#2C263C #3C3726 #2B3C26
monochromatic
#0E0C13 #110E17 #2C263C #473E61 #635587

Accessibility & contrast

On white

14.49
#2C263C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2C263C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C263C
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C263C#FFFFFF#000000##FFFFFF
##2C263C1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293D
Deuteranopia (green-blind)
#22293B
Tritanopia (blue-blind)
#292A2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c263c;
/* rgb */ color: rgb(44, 38, 60);
/* oklch */ color: oklch(28.6% 0.040 296.3);
Tailwind
colors: {
  custom: {
    50: '#656071',
    500: '#2c263c',
    950: '#000000',
  },
}
SCSS
$custom: #2c263c;
$custom-light: #656071;
$custom-dark: #000000;
JSON
{
  "hex": "#2c263c",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 60
  },
  "hsl": {
    "h": 256.364,
    "s": 22.449,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28554,
    "c": 0.04034,
    "h": 296.3
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#2C263C
secondary
#666E50
accent
#BF69A7
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2C263C

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

Preview Lab → · Contrast checker → · Palette generator →

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