#2C2640#2C2640

#2C2640 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.8% C 0.047 H 293.8°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#2C2640
RGBrgb(44, 38, 64)
HSLhsl(254, 25%, 20%)
HSVhsv(254, 41%, 25%)
CMYKcmyk(31.2%, 40.6%, 0%, 74.9%)
CIE-LABlab(16.95, 9.72, -15.53)
CIE-LCHlch(16.95, 18.32, 302.05°)
OKLaboklab(28.79% 0.0191 -0.0432)
OKLCHoklch(28.79% 0.047 293.8)
XYZxyz(2.6570, 2.2918, 5.1519)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2640 #3A4026
analogous
#262D40 #2C2640 #392640
triadic
#2C2640 #402C26 #26402C
tetradic
#2C2640 #40262D #3A4026 #264039
square
#2C2640 #40262D #3A4026 #264039
split-complementary
#2C2640 #403926 #2D4026
monochromatic
#0D0B13 #120F1A #2C2640 #463D66 #61548D

Accessibility & contrast

On white

14.40
#2C2640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2C2640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2640
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2640#FFFFFF#000000##FFFFFF
##2C26401.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#20293F
Tritanopia (blue-blind)
#282A30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c2640;
/* rgb */ color: rgb(44, 38, 64);
/* oklch */ color: oklch(28.8% 0.047 293.8);
Tailwind
colors: {
  custom: {
    50: '#666075',
    500: '#2c2640',
    950: '#000000',
  },
}
SCSS
$custom: #2c2640;
$custom-light: #666075;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2640",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 253.846,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.28785,
    "c": 0.04724,
    "h": 293.8
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#2C2640
secondary
#6A7250
accent
#C266AD
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2C2640

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

Preview Lab → · Contrast checker → · Palette generator →

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