#2C0D41#2C0D41

#2C0D41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.095 H 308.0°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#2C0D41
RGBrgb(44, 13, 65)
HSLhsl(276, 67%, 15%)
HSVhsv(276, 80%, 25%)
CMYKcmyk(32.3%, 80%, 0%, 74.5%)
CIE-LABlab(10.59, 26.48, -26.34)
CIE-LCHlch(10.59, 37.35, 315.16°)
OKLaboklab(24.1% 0.0584 -0.0747)
OKLCHoklch(24.1% 0.095 308)
XYZxyz(2.1366, 1.2050, 5.1200)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D41 #22410D
analogous
#120D41 #2C0D41 #410D3C
triadic
#2C0D41 #412C0D #0D412C
tetradic
#2C0D41 #41120D #22410D #0D3C41
square
#2C0D41 #41120D #22410D #0D3C41
split-complementary
#2C0D41 #3C410D #0D4112
monochromatic
#11051A #11051A #2C0D41 #4F1774 #7121A7

Accessibility & contrast

On white

16.92
#2C0D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D41
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D41#FFFFFF#000000##FFFFFF
##2C0D411.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#021D40
Tritanopia (blue-blind)
#291926
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0d41;
/* rgb */ color: rgb(44, 13, 65);
/* oklch */ color: oklch(24.1% 0.095 308.0);
Tailwind
colors: {
  custom: {
    50: '#684f76',
    500: '#2c0d41',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d41;
$custom-light: #684f76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d41",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 275.769,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24099,
    "c": 0.09482,
    "h": 308
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#2C0D41
secondary
#4D7D2D
accent
#EA3E83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0D41

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

Preview Lab → · Contrast checker → · Palette generator →

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