#2C1343#2C1343

#2C1343 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.088 H 304.8°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#2C1343
RGBrgb(44, 19, 67)
HSLhsl(271, 56%, 17%)
HSVhsv(271, 72%, 26%)
CMYKcmyk(34.3%, 71.6%, 0%, 73.7%)
CIE-LABlab(12.00, 23.60, -25.48)
CIE-LCHlch(12.00, 34.73, 312.81°)
OKLaboklab(25.16% 0.0502 -0.0722)
OKLCHoklch(25.16% 0.088 304.8)
XYZxyz(2.2845, 1.4065, 5.4602)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1343 #2A4313
analogous
#141343 #2C1343 #431342
triadic
#2C1343 #432C13 #13432C
tetradic
#2C1343 #431413 #2A4313 #134243
square
#2C1343 #431413 #2A4313 #134243
split-complementary
#2C1343 #424313 #134314
monochromatic
#100718 #100718 #2C1343 #4B2173 #6B2EA2

Accessibility & contrast

On white

16.39
#2C1343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1343
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1343#FFFFFF#000000##FFFFFF
##2C13431.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F44
Deuteranopia (green-blind)
#072042
Tritanopia (blue-blind)
#281D28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c1343;
/* rgb */ color: rgb(44, 19, 67);
/* oklch */ color: oklch(25.2% 0.088 304.8);
Tailwind
colors: {
  custom: {
    50: '#675277',
    500: '#2c1343',
    950: '#000000',
  },
}
SCSS
$custom: #2c1343;
$custom-light: #675277;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1343",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 271.25,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25161,
    "c": 0.08791,
    "h": 304.8
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#2C1343
secondary
#577C36
accent
#DF4991
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1343

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

Preview Lab → · Contrast checker → · Palette generator →

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