#2C1359#2C1359

#2C1359 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.117 H 293.3°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#2C1359
RGBrgb(44, 19, 89)
HSLhsl(261, 65%, 21%)
HSVhsv(261, 79%, 35%)
CMYKcmyk(50.6%, 78.7%, 0%, 65.1%)
CIE-LABlab(13.96, 30.18, -37.43)
CIE-LCHlch(13.96, 48.08, 308.88°)
OKLaboklab(27.17% 0.0463 -0.1073)
OKLCHoklch(27.17% 0.117 293.3)
XYZxyz(3.0743, 1.7224, 9.6197)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1359 #405913
analogous
#131D59 #2C1359 #4F1359
triadic
#2C1359 #592C13 #13592C
tetradic
#2C1359 #59131D #405913 #13594F
square
#2C1359 #59131D #405913 #13594F
split-complementary
#2C1359 #594F13 #1D5913
monochromatic
#0C0519 #130827 #2C1359 #451E8B #5E29BE

Accessibility & contrast

On white

15.62
#2C1359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2C1359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1359
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1359#FFFFFF#000000##FFFFFF
##2C13591.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#1E2535
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2c1359;
/* rgb */ color: rgb(44, 19, 89);
/* oklch */ color: oklch(27.2% 0.117 293.3);
Tailwind
colors: {
  custom: {
    50: '#6b5389',
    500: '#2c1359',
    950: '#000000',
  },
}
SCSS
$custom: #2c1359;
$custom-light: #6b5389;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1359",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 261.429,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27172,
    "c": 0.11685,
    "h": 293.3
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#2C1359
secondary
#719137
accent
#E840AC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C1359

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

Preview Lab → · Contrast checker → · Palette generator →

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