#2C143B#2C143B

#2C143B is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.7% C 0.075 H 310.4°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2C143B
RGBrgb(44, 20, 59)
HSLhsl(277, 49%, 15%)
HSVhsv(277, 66%, 23%)
CMYKcmyk(25.4%, 66.1%, 0%, 76.9%)
CIE-LABlab(11.63, 20.71, -20.41)
CIE-LCHlch(11.63, 29.07, 315.43°)
OKLaboklab(24.7% 0.0489 -0.0573)
OKLCHoklch(24.7% 0.075 310.4)
XYZxyz(2.0781, 1.3516, 4.2882)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C143B #233B14
analogous
#18143B #2C143B #3B1436
triadic
#2C143B #3B2C14 #143B2C
tetradic
#2C143B #3B1814 #233B14 #14363B
square
#2C143B #3B1814 #233B14 #14363B
split-complementary
#2C143B #363B14 #143B18
monochromatic
#110817 #110817 #2C143B #4E2369 #703396

Accessibility & contrast

On white

16.53
#2C143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2C143B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C143B
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C143B#FFFFFF#000000##FFFFFF
##2C143B1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3C
Deuteranopia (green-blind)
#101F3A
Tritanopia (blue-blind)
#2A1B25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c143b;
/* rgb */ color: rgb(44, 20, 59);
/* oklch */ color: oklch(24.7% 0.075 310.4);
Tailwind
colors: {
  custom: {
    50: '#675371',
    500: '#2c143b',
    950: '#000000',
  },
}
SCSS
$custom: #2c143b;
$custom-light: #675371;
$custom-dark: #000000;
JSON
{
  "hex": "#2c143b",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 276.923,
    "s": 49.367,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24699,
    "c": 0.0753,
    "h": 310.4
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#2C143B
secondary
#4F7338
accent
#D94F84
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C143B

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

Preview Lab → · Contrast checker → · Palette generator →

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