#2C283C#2C283C

#2C283C is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.0% C 0.036 H 293.2°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#2C283C
RGBrgb(44, 40, 60)
HSLhsl(252, 20%, 20%)
HSVhsv(252, 33%, 24%)
CMYKcmyk(26.7%, 33.3%, 0%, 76.5%)
CIE-LABlab(17.36, 7.09, -12.11)
CIE-LCHlch(17.36, 14.04, 300.36°)
OKLaboklab(29.03% 0.0143 -0.0334)
OKLCHoklch(29.03% 0.036 293.2)
XYZxyz(2.6129, 2.3793, 4.5957)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C283C #383C28
analogous
#282E3C #2C283C #36283C
triadic
#2C283C #3C2C28 #283C2C
tetradic
#2C283C #3C282E #383C28 #283C36
square
#2C283C #3C282E #383C28 #283C36
split-complementary
#2C283C #3C3628 #2E3C28
monochromatic
#0D0C12 #111017 #2C283C #474061 #625985

Accessibility & contrast

On white

14.23
#2C283C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2C283C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C283C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C283C#FFFFFF#000000##FFFFFF
##2C283C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3D
Deuteranopia (green-blind)
#232A3B
Tritanopia (blue-blind)
#292B2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2c283c;
/* rgb */ color: rgb(44, 40, 60);
/* oklch */ color: oklch(29.0% 0.036 293.2);
Tailwind
colors: {
  custom: {
    50: '#656171',
    500: '#2c283c',
    950: '#000000',
  },
}
SCSS
$custom: #2c283c;
$custom-light: #656171;
$custom-dark: #000000;
JSON
{
  "hex": "#2c283c",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 60
  },
  "hsl": {
    "h": 252,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29034,
    "c": 0.03635,
    "h": 293.2
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#2C283C
secondary
#686D52
accent
#BD6BAC
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050507
muted
#7A797A

Preview Lab

Preview with #2C283C

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

Preview Lab → · Contrast checker → · Palette generator →

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