#2C1346#2C1346

#2C1346 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.092 H 302.9°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#2C1346
RGBrgb(44, 19, 70)
HSLhsl(269, 57%, 17%)
HSVhsv(269, 73%, 27%)
CMYKcmyk(37.1%, 72.9%, 0%, 72.5%)
CIE-LABlab(12.24, 24.47, -27.19)
CIE-LCHlch(12.24, 36.58, 312.00°)
OKLaboklab(25.41% 0.0499 -0.0772)
OKLCHoklch(25.41% 0.092 302.9)
XYZxyz(2.3768, 1.4434, 5.9466)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1346 #2D4613
analogous
#131346 #2C1346 #461346
triadic
#2C1346 #462C13 #13462C
tetradic
#2C1346 #461313 #2D4613 #134646
square
#2C1346 #461313 #2D4613 #134646
split-complementary
#2C1346 #464613 #134613
monochromatic
#0F0718 #0F0718 #2C1346 #4A2076 #692DA6

Accessibility & contrast

On white

16.30
#2C1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2C1346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1346
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1346#FFFFFF#000000##FFFFFF
##2C13461.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#032045
Tritanopia (blue-blind)
#271E2A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1346;
/* rgb */ color: rgb(44, 19, 70);
/* oklch */ color: oklch(25.4% 0.092 302.9);
Tailwind
colors: {
  custom: {
    50: '#68527a',
    500: '#2c1346',
    950: '#000000',
  },
}
SCSS
$custom: #2c1346;
$custom-light: #68527a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1346",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 269.412,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25414,
    "c": 0.09193,
    "h": 302.9
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#2C1346
secondary
#5B7F36
accent
#E14795
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1346

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

Preview Lab → · Contrast checker → · Palette generator →

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