#2C144A#2C144A

#2C144A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.096 H 300.2°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#2C144A
RGBrgb(44, 20, 74)
HSLhsl(267, 57%, 18%)
HSVhsv(267, 73%, 29%)
CMYKcmyk(40.5%, 73%, 0%, 71%)
CIE-LABlab(12.80, 25.05, -29.07)
CIE-LCHlch(12.80, 38.37, 310.76°)
OKLaboklab(25.92% 0.0481 -0.0827)
OKLCHoklch(25.92% 0.096 300.2)
XYZxyz(2.5246, 1.5302, 6.6396)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C144A #324A14
analogous
#14174A #2C144A #47144A
triadic
#2C144A #4A2C14 #144A2C
tetradic
#2C144A #4A1417 #324A14 #144A47
square
#2C144A #4A1417 #324A14 #144A47
split-complementary
#2C144A #4A4714 #174A14
monochromatic
#0E0718 #0F071A #2C144A #49217A #652EAA

Accessibility & contrast

On white

16.08
#2C144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2C144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C144A
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C144A#FFFFFF#000000##FFFFFF
##2C144A1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#25202D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c144a;
/* rgb */ color: rgb(44, 20, 74);
/* oklch */ color: oklch(25.9% 0.096 300.2);
Tailwind
colors: {
  custom: {
    50: '#68537d',
    500: '#2c144a',
    950: '#000000',
  },
}
SCSS
$custom: #2c144a;
$custom-light: #68537d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c144a",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 266.667,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25919,
    "c": 0.09571,
    "h": 300.2
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#2C144A
secondary
#618238
accent
#E1479C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C144A

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

Preview Lab → · Contrast checker → · Palette generator →

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