#2C143F#2C143F

#2C143F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.081 H 307.3°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#2C143F
RGBrgb(44, 20, 63)
HSLhsl(273, 52%, 16%)
HSVhsv(273, 68%, 25%)
CMYKcmyk(30.2%, 68.3%, 0%, 75.3%)
CIE-LABlab(11.92, 21.83, -22.78)
CIE-LCHlch(11.92, 31.56, 313.78°)
OKLaboklab(25.01% 0.0489 -0.0643)
OKLCHoklch(25.01% 0.081 307.3)
XYZxyz(2.1859, 1.3947, 4.8557)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C143F #273F14
analogous
#17143F #2C143F #3F143D
triadic
#2C143F #3F2C14 #143F2C
tetradic
#2C143F #3F1714 #273F14 #143D3F
square
#2C143F #3F1714 #273F14 #143D3F
split-complementary
#2C143F #3D3F14 #143F17
monochromatic
#100717 #100717 #2C143F #4C236D #6D319C

Accessibility & contrast

On white

16.42
#2C143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C143F
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C143F#FFFFFF#000000##FFFFFF
##2C143F1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#0D203E
Tritanopia (blue-blind)
#291C27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c143f;
/* rgb */ color: rgb(44, 20, 63);
/* oklch */ color: oklch(25.0% 0.081 307.3);
Tailwind
colors: {
  custom: {
    50: '#675374',
    500: '#2c143f',
    950: '#000000',
  },
}
SCSS
$custom: #2c143f;
$custom-light: #675374;
$custom-dark: #000000;
JSON
{
  "hex": "#2c143f",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 273.488,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25005,
    "c": 0.08076,
    "h": 307.3
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#2C143F
secondary
#547738
accent
#DB4D8C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C143F

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

Preview Lab → · Contrast checker → · Palette generator →

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