#2C1353#2C1353

#2C1353 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.109 H 295.9°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#2C1353
RGBrgb(44, 19, 83)
HSLhsl(263, 63%, 20%)
HSVhsv(263, 77%, 33%)
CMYKcmyk(47%, 77.1%, 0%, 67.5%)
CIE-LABlab(13.39, 28.35, -34.29)
CIE-LCHlch(13.39, 44.50, 309.58°)
OKLaboklab(26.59% 0.0477 -0.0981)
OKLCHoklch(26.59% 0.109 295.9)
XYZxyz(2.8325, 1.6257, 8.3465)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1353 #3A5313
analogous
#131A53 #2C1353 #4C1353
triadic
#2C1353 #532C13 #13532C
tetradic
#2C1353 #53131A #3A5313 #13534C
square
#2C1353 #53131A #3A5313 #13534C
split-complementary
#2C1353 #534C13 #1A5313
monochromatic
#0D0619 #120821 #2C1353 #461E85 #612AB7

Accessibility & contrast

On white

15.85
#2C1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2C1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1353
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1353#FFFFFF#000000##FFFFFF
##2C13531.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#222331
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c1353;
/* rgb */ color: rgb(44, 19, 83);
/* oklch */ color: oklch(26.6% 0.109 295.9);
Tailwind
colors: {
  custom: {
    50: '#6a5384',
    500: '#2c1353',
    950: '#000000',
  },
}
SCSS
$custom: #2c1353;
$custom-light: #6a5384;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1353",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 263.438,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.26589,
    "c": 0.1091,
    "h": 295.9
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#2C1353
secondary
#6A8B36
accent
#E642A6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C1353

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

Preview Lab → · Contrast checker → · Palette generator →

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