#2C283A#2C283A

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

Color values

HEX#2C283A
RGBrgb(44, 40, 58)
HSLhsl(253, 18%, 19%)
HSVhsv(253, 31%, 23%)
CMYKcmyk(24.1%, 31%, 0%, 77.3%)
CIE-LABlab(17.27, 6.51, -10.87)
CIE-LCHlch(17.27, 12.67, 300.91°)
OKLaboklab(28.93% 0.0136 -0.0299)
OKLCHoklch(28.93% 0.033 294.4)
XYZxyz(2.5610, 2.3585, 4.3225)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C283A #363A28
analogous
#282D3A #2C283A #35283A
triadic
#2C283A #3A2C28 #283A2C
tetradic
#2C283A #3A282D #363A28 #283A35
square
#2C283A #3A282D #363A28 #283A35
split-complementary
#2C283A #3A3528 #2D3A28
monochromatic
#0E0C12 #110F16 #2C283A #47415E #635A82

Accessibility & contrast

On white

14.27
#2C283A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2C283A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C283A
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C283A#FFFFFF#000000##FFFFFF
##2C283A1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3B
Deuteranopia (green-blind)
#242A39
Tritanopia (blue-blind)
#292B2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c283a;
/* rgb */ color: rgb(44, 40, 58);
/* oklch */ color: oklch(28.9% 0.033 294.4);
Tailwind
colors: {
  custom: {
    50: '#656170',
    500: '#2c283a',
    950: '#000000',
  },
}
SCSS
$custom: #2c283a;
$custom-light: #656170;
$custom-dark: #000000;
JSON
{
  "hex": "#2c283a",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 58
  },
  "hsl": {
    "h": 253.333,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28927,
    "c": 0.03283,
    "h": 294.4
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#2C283A
secondary
#666B53
accent
#BB6DAA
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050507
muted
#7A797A

Preview Lab

Preview with #2C283A

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

Preview Lab → · Contrast checker → · Palette generator →

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