#2C1446#2C1446

#2C1446 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.090 H 302.5°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#2C1446
RGBrgb(44, 20, 70)
HSLhsl(269, 56%, 18%)
HSVhsv(269, 71%, 27%)
CMYKcmyk(37.1%, 71.4%, 0%, 72.5%)
CIE-LABlab(12.47, 23.86, -26.82)
CIE-LCHlch(12.47, 35.90, 311.66°)
OKLaboklab(25.58% 0.0485 -0.0761)
OKLCHoklch(25.58% 0.09 302.5)
XYZxyz(2.3941, 1.4780, 5.9523)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1446 #2E4614
analogous
#141546 #2C1446 #451446
triadic
#2C1446 #462C14 #14462C
tetradic
#2C1446 #461415 #2E4614 #144645
square
#2C1446 #461415 #2E4614 #144645
split-complementary
#2C1446 #464514 #154614
monochromatic
#0F0718 #0F0718 #2C1446 #4A2276 #682FA5

Accessibility & contrast

On white

16.21
#2C1446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2C1446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1446
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1446#FFFFFF#000000##FFFFFF
##2C14461.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1446;
/* rgb */ color: rgb(44, 20, 70);
/* oklch */ color: oklch(25.6% 0.090 302.5);
Tailwind
colors: {
  custom: {
    50: '#68537a',
    500: '#2c1446',
    950: '#000000',
  },
}
SCSS
$custom: #2c1446;
$custom-light: #68537a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1446",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 70
  },
  "hsl": {
    "h": 268.8,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25575,
    "c": 0.0903,
    "h": 302.5
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#2C1446
secondary
#5C7E38
accent
#DF4997
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C1446

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

Preview Lab → · Contrast checker → · Palette generator →

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