#2C0C41#2C0C41

#2C0C41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.096 H 308.3°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#2C0C41
RGBrgb(44, 12, 65)
HSLhsl(276, 69%, 15%)
HSVhsv(276, 82%, 25%)
CMYKcmyk(32.3%, 81.5%, 0%, 74.5%)
CIE-LABlab(10.41, 27.00, -26.63)
CIE-LCHlch(10.41, 37.93, 315.39°)
OKLaboklab(23.97% 0.0597 -0.0755)
OKLCHoklch(23.97% 0.096 308.3)
XYZxyz(2.1241, 1.1801, 5.1159)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C41 #21410C
analogous
#110C41 #2C0C41 #410C3C
triadic
#2C0C41 #412C0C #0C412C
tetradic
#2C0C41 #41110C #21410C #0C3C41
square
#2C0C41 #41110C #21410C #0C3C41
split-complementary
#2C0C41 #3C410C #0C4111
monochromatic
#11051A #11051A #2C0C41 #4F1675 #721FA8

Accessibility & contrast

On white

16.99
#2C0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C0C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0C41
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C41#FFFFFF#000000##FFFFFF
##2C0C411.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#291825
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0c41;
/* rgb */ color: rgb(44, 12, 65);
/* oklch */ color: oklch(24.0% 0.096 308.3);
Tailwind
colors: {
  custom: {
    50: '#684e76',
    500: '#2c0c41',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c41;
$custom-light: #684e76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c41",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 276.226,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23968,
    "c": 0.09625,
    "h": 308.3
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#2C0C41
secondary
#4C7D2C
accent
#EC3C82
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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