#2C2644#2C2644

#2C2644 is a dark, muted violet. Relative luminance 0.023; OKLCH L 29.0% C 0.054 H 291.9°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#2C2644
RGBrgb(44, 38, 68)
HSLhsl(252, 28%, 21%)
HSVhsv(252, 44%, 27%)
CMYKcmyk(35.3%, 44.1%, 0%, 73.3%)
CIE-LABlab(17.17, 10.97, -17.94)
CIE-LCHlch(17.17, 21.02, 301.44°)
OKLaboklab(29.03% 0.0201 -0.0502)
OKLCHoklch(29.03% 0.054 291.9)
XYZxyz(2.7749, 2.3390, 5.7730)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2644 #3E4426
analogous
#262F44 #2C2644 #3B2644
triadic
#2C2644 #442C26 #26442C
tetradic
#2C2644 #44262F #3E4426 #26443B
square
#2C2644 #44262F #3E4426 #26443B
split-complementary
#2C2644 #443B26 #2F4426
monochromatic
#0D0B14 #13101D #2C2644 #453C6B #5F5293

Accessibility & contrast

On white

14.31
#2C2644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2644
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2644#FFFFFF#000000##FFFFFF
##2C26441.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2B45
Deuteranopia (green-blind)
#1E2A43
Tritanopia (blue-blind)
#262B31
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c2644;
/* rgb */ color: rgb(44, 38, 68);
/* oklch */ color: oklch(29.0% 0.054 291.9);
Tailwind
colors: {
  custom: {
    50: '#666078',
    500: '#2c2644',
    950: '#000000',
  },
}
SCSS
$custom: #2c2644;
$custom-light: #666078;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2644",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 68
  },
  "hsl": {
    "h": 252,
    "s": 28.302,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2903,
    "c": 0.05407,
    "h": 291.9
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#2C2644
secondary
#6F764F
accent
#C563B1
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2C2644

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

Preview Lab → · Contrast checker → · Palette generator →

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