#2C144D#2C144D

#2C144D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.100 H 298.6°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#2C144D
RGBrgb(44, 20, 77)
HSLhsl(265, 59%, 19%)
HSVhsv(265, 74%, 30%)
CMYKcmyk(42.9%, 74%, 0%, 69.8%)
CIE-LABlab(13.06, 25.95, -30.72)
CIE-LCHlch(13.06, 40.22, 310.19°)
OKLaboklab(26.19% 0.0477 -0.0876)
OKLCHoklch(26.19% 0.1 298.6)
XYZxyz(2.6281, 1.5716, 7.1846)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C144D #354D14
analogous
#14194D #2C144D #49144D
triadic
#2C144D #4D2C14 #144D2C
tetradic
#2C144D #4D1419 #354D14 #144D49
square
#2C144D #4D1419 #354D14 #144D49
split-complementary
#2C144D #4D4914 #194D14
monochromatic
#0E0618 #10071C #2C144D #48217E #642DAE

Accessibility & contrast

On white

15.98
#2C144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C144D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C144D#FFFFFF#000000##FFFFFF
##2C144D1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#24212E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c144d;
/* rgb */ color: rgb(44, 20, 77);
/* oklch */ color: oklch(26.2% 0.100 298.6);
Tailwind
colors: {
  custom: {
    50: '#69537f',
    500: '#2c144d',
    950: '#000000',
  },
}
SCSS
$custom: #2c144d;
$custom-light: #69537f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c144d",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 265.263,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26185,
    "c": 0.09974,
    "h": 298.6
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#2C144D
secondary
#658538
accent
#E246A0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C144D

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

Preview Lab → · Contrast checker → · Palette generator →

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