#2C1344#2C1344

#2C1344 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.089 H 304.2°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#2C1344
RGBrgb(44, 19, 68)
HSLhsl(271, 56%, 17%)
HSVhsv(271, 72%, 27%)
CMYKcmyk(35.3%, 72.1%, 0%, 73.3%)
CIE-LABlab(12.08, 23.89, -26.05)
CIE-LCHlch(12.08, 35.35, 312.53°)
OKLaboklab(25.24% 0.0501 -0.0739)
OKLCHoklch(25.24% 0.089 304.2)
XYZxyz(2.3147, 1.4186, 5.6196)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1344 #2B4413
analogous
#131344 #2C1344 #441344
triadic
#2C1344 #442C13 #13442C
tetradic
#2C1344 #441313 #2B4413 #134444
square
#2C1344 #441313 #2B4413 #134444
split-complementary
#2C1344 #444413 #134413
monochromatic
#0F0718 #0F0718 #2C1344 #4B2074 #6A2EA4

Accessibility & contrast

On white

16.36
#2C1344 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C1344 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1344
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1344#FFFFFF#000000##FFFFFF
##2C13441.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#062043
Tritanopia (blue-blind)
#281D29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1344;
/* rgb */ color: rgb(44, 19, 68);
/* oklch */ color: oklch(25.2% 0.089 304.2);
Tailwind
colors: {
  custom: {
    50: '#685278',
    500: '#2c1344',
    950: '#000000',
  },
}
SCSS
$custom: #2c1344;
$custom-light: #685278;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1344",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 270.612,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25244,
    "c": 0.08925,
    "h": 304.2
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#2C1344
secondary
#597D36
accent
#E04892
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1344

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

Preview Lab → · Contrast checker → · Palette generator →

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