#2C144C#2C144C

#2C144C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.098 H 299.1°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#2C144C
RGBrgb(44, 20, 76)
HSLhsl(266, 58%, 19%)
HSVhsv(266, 74%, 30%)
CMYKcmyk(42.1%, 73.7%, 0%, 70.2%)
CIE-LABlab(12.97, 25.65, -30.17)
CIE-LCHlch(12.97, 39.60, 310.37°)
OKLaboklab(26.1% 0.0478 -0.086)
OKLCHoklch(26.1% 0.098 299.1)
XYZxyz(2.5930, 1.5576, 7.0001)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C144C #344C14
analogous
#14184C #2C144C #48144C
triadic
#2C144C #4C2C14 #144C2C
tetradic
#2C144C #4C1418 #344C14 #144C48
square
#2C144C #4C1418 #344C14 #144C48
split-complementary
#2C144C #4C4814 #184C14
monochromatic
#0E0618 #10071C #2C144C #48217C #642EAD

Accessibility & contrast

On white

16.01
#2C144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C144C
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C144C#FFFFFF#000000##FFFFFF
##2C144C1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#25212E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c144c;
/* rgb */ color: rgb(44, 20, 76);
/* oklch */ color: oklch(26.1% 0.098 299.1);
Tailwind
colors: {
  custom: {
    50: '#68537e',
    500: '#2c144c',
    950: '#000000',
  },
}
SCSS
$custom: #2c144c;
$custom-light: #68537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c144c",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 265.714,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26096,
    "c": 0.0984,
    "h": 299.1
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#2C144C
secondary
#638438
accent
#E2469F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C144C

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

Preview Lab → · Contrast checker → · Palette generator →

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