#2C0941#2C0941

#2C0941 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.100 H 309.0°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2C0941
RGBrgb(44, 9, 65)
HSLhsl(278, 76%, 15%)
HSVhsv(278, 86%, 25%)
CMYKcmyk(32.3%, 86.2%, 0%, 74.5%)
CIE-LABlab(9.90, 28.47, -27.47)
CIE-LCHlch(9.90, 39.56, 316.02°)
OKLaboklab(23.61% 0.0631 -0.078)
OKLCHoklch(23.61% 0.1 309)
XYZxyz(2.0903, 1.1125, 5.1046)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0941 #1E4109
analogous
#100941 #2C0941 #41093A
triadic
#2C0941 #412C09 #09412C
tetradic
#2C0941 #411009 #1E4109 #093A41
square
#2C0941 #411009 #1E4109 #093A41
split-complementary
#2C0941 #3A4109 #094110
monochromatic
#12041B #12041B #2C0941 #501077 #7518AD

Accessibility & contrast

On white

17.18
#2C0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0941
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0941#FFFFFF#000000##FFFFFF
##2C09411.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#291725
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0941;
/* rgb */ color: rgb(44, 9, 65);
/* oklch */ color: oklch(23.6% 0.100 309.0);
Tailwind
colors: {
  custom: {
    50: '#684d76',
    500: '#2c0941',
    950: '#000000',
  },
}
SCSS
$custom: #2c0941;
$custom-light: #684d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0941",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 277.5,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23605,
    "c": 0.10028,
    "h": 309
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#2C0941
secondary
#487F27
accent
#F2367C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0941

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

Preview Lab → · Contrast checker → · Palette generator →

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