#2C1941#2C1941

#2C1941 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.074 H 303.6°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#2C1941
RGBrgb(44, 25, 65)
HSLhsl(269, 44%, 18%)
HSVhsv(269, 62%, 25%)
CMYKcmyk(32.3%, 61.5%, 0%, 74.5%)
CIE-LABlab(13.31, 19.14, -21.98)
CIE-LCHlch(13.31, 29.15, 311.06°)
OKLaboklab(26.07% 0.0411 -0.0619)
OKLCHoklch(26.07% 0.074 303.6)
XYZxyz(2.3403, 1.6124, 5.1879)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1941 #2E4119
analogous
#191A41 #2C1941 #401941
triadic
#2C1941 #412C19 #19412C
tetradic
#2C1941 #41191A #2E4119 #194140
square
#2C1941 #41191A #2E4119 #194140
split-complementary
#2C1941 #414019 #1A4119
monochromatic
#0F0916 #0F0916 #2C1941 #4A2A6D #683B99

Accessibility & contrast

On white

15.88
#2C1941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2C1941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1941
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1941#FFFFFF#000000##FFFFFF
##2C19411.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2242
Deuteranopia (green-blind)
#112240
Tritanopia (blue-blind)
#28212A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c1941;
/* rgb */ color: rgb(44, 25, 65);
/* oklch */ color: oklch(26.1% 0.074 303.6);
Tailwind
colors: {
  custom: {
    50: '#675676',
    500: '#2c1941',
    950: '#000000',
  },
}
SCSS
$custom: #2c1941;
$custom-light: #675676;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1941",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 268.5,
    "s": 44.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26066,
    "c": 0.07436,
    "h": 303.6
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#2C1941
secondary
#5C773F
accent
#D45497
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060308
muted
#7A787B

Preview Lab

Preview with #2C1941

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

Preview Lab → · Contrast checker → · Palette generator →

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