#2C143E#2C143E

#2C143E is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.079 H 308.0°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#2C143E
RGBrgb(44, 20, 62)
HSLhsl(274, 51%, 16%)
HSVhsv(274, 68%, 24%)
CMYKcmyk(29%, 67.7%, 0%, 75.7%)
CIE-LABlab(11.85, 21.55, -22.19)
CIE-LCHlch(11.85, 30.94, 314.16°)
OKLaboklab(24.93% 0.0489 -0.0625)
OKLCHoklch(24.93% 0.079 308)
XYZxyz(2.1582, 1.3836, 4.7099)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C143E #263E14
analogous
#17143E #2C143E #3E143B
triadic
#2C143E #3E2C14 #143E2C
tetradic
#2C143E #3E1714 #263E14 #143B3E
square
#2C143E #3E1714 #263E14 #143B3E
split-complementary
#2C143E #3B3E14 #143E17
monochromatic
#100717 #100717 #2C143E #4D236C #6E329B

Accessibility & contrast

On white

16.45
#2C143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C143E
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C143E#FFFFFF#000000##FFFFFF
##2C143E1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#0E1F3D
Tritanopia (blue-blind)
#291C26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c143e;
/* rgb */ color: rgb(44, 20, 62);
/* oklch */ color: oklch(24.9% 0.079 308.0);
Tailwind
colors: {
  custom: {
    50: '#675373',
    500: '#2c143e',
    950: '#000000',
  },
}
SCSS
$custom: #2c143e;
$custom-light: #675373;
$custom-dark: #000000;
JSON
{
  "hex": "#2c143e",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 274.286,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24927,
    "c": 0.07939,
    "h": 308
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#2C143E
secondary
#527638
accent
#DB4D8A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C143E

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

Preview Lab → · Contrast checker → · Palette generator →

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