#2C144B#2C144B

#2C144B is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.097 H 299.6°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#2C144B
RGBrgb(44, 20, 75)
HSLhsl(266, 58%, 19%)
HSVhsv(266, 73%, 29%)
CMYKcmyk(41.3%, 73.3%, 0%, 70.6%)
CIE-LABlab(12.88, 25.35, -29.62)
CIE-LCHlch(12.88, 38.99, 310.56°)
OKLaboklab(26.01% 0.048 -0.0844)
OKLCHoklch(26.01% 0.097 299.6)
XYZxyz(2.5585, 1.5438, 6.8184)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C144B #334B14
analogous
#14174B #2C144B #47144B
triadic
#2C144B #4B2C14 #144B2C
tetradic
#2C144B #4B1417 #334B14 #144B47
square
#2C144B #4B1417 #334B14 #144B47
split-complementary
#2C144B #4B4714 #174B14
monochromatic
#0E0618 #10071B #2C144B #48217B #652EAC

Accessibility & contrast

On white

16.05
#2C144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C144B
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C144B#FFFFFF#000000##FFFFFF
##2C144B1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c144b;
/* rgb */ color: rgb(44, 20, 75);
/* oklch */ color: oklch(26.0% 0.097 299.6);
Tailwind
colors: {
  custom: {
    50: '#68537e',
    500: '#2c144b',
    950: '#000000',
  },
}
SCSS
$custom: #2c144b;
$custom-light: #68537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c144b",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 266.182,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26007,
    "c": 0.09705,
    "h": 299.6
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#2C144B
secondary
#628338
accent
#E1479E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C144B

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

Preview Lab → · Contrast checker → · Palette generator →

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