#2C1441#2C1441

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

Color values

HEX#2C1441
RGBrgb(44, 20, 65)
HSLhsl(272, 53%, 17%)
HSVhsv(272, 69%, 25%)
CMYKcmyk(32.3%, 69.2%, 0%, 74.5%)
CIE-LABlab(12.07, 22.41, -23.95)
CIE-LCHlch(12.07, 32.80, 313.09°)
OKLaboklab(25.16% 0.0489 -0.0677)
OKLCHoklch(25.16% 0.083 305.8)
XYZxyz(2.2428, 1.4175, 5.1554)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1441 #294114
analogous
#161441 #2C1441 #411440
triadic
#2C1441 #412C14 #14412C
tetradic
#2C1441 #411614 #294114 #144041
square
#2C1441 #411614 #294114 #144041
split-complementary
#2C1441 #404114 #144116
monochromatic
#100717 #100717 #2C1441 #4C2270 #6B319F

Accessibility & contrast

On white

16.36
#2C1441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1441
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1441#FFFFFF#000000##FFFFFF
##2C14411.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F42
Deuteranopia (green-blind)
#0B2040
Tritanopia (blue-blind)
#281D28
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1441;
/* rgb */ color: rgb(44, 20, 65);
/* oklch */ color: oklch(25.2% 0.083 305.8);
Tailwind
colors: {
  custom: {
    50: '#675376',
    500: '#2c1441',
    950: '#000000',
  },
}
SCSS
$custom: #2c1441;
$custom-light: #675376;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1441",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 65
  },
  "hsl": {
    "h": 272,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25164,
    "c": 0.08349,
    "h": 305.8
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#2C1441
secondary
#567938
accent
#DC4B8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C1441

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

Preview Lab → · Contrast checker → · Palette generator →

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