#2C0944#2C0944

#2C0944 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.104 H 306.9°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2C0944
RGBrgb(44, 9, 68)
HSLhsl(276, 77%, 15%)
HSVhsv(276, 87%, 27%)
CMYKcmyk(35.3%, 86.8%, 0%, 73.3%)
CIE-LABlab(10.17, 29.25, -29.14)
CIE-LCHlch(10.17, 41.29, 315.11°)
OKLaboklab(23.88% 0.0623 -0.0829)
OKLCHoklch(23.88% 0.104 306.9)
XYZxyz(2.1796, 1.1482, 5.5745)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0944 #214409
analogous
#0E0944 #2C0944 #44093E
triadic
#2C0944 #442C09 #09442C
tetradic
#2C0944 #440E09 #214409 #093E44
square
#2C0944 #440E09 #214409 #093E44
split-complementary
#2C0944 #3E4409 #09440E
monochromatic
#11041B #11041B #2C0944 #4F107A #7217B0

Accessibility & contrast

On white

17.08
#2C0944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C0944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0944
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0944#FFFFFF#000000##FFFFFF
##2C09441.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#281826
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0944;
/* rgb */ color: rgb(44, 9, 68);
/* oklch */ color: oklch(23.9% 0.104 306.9);
Tailwind
colors: {
  custom: {
    50: '#684d78',
    500: '#2c0944',
    950: '#000000',
  },
}
SCSS
$custom: #2c0944;
$custom-light: #684d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0944",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 275.593,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23883,
    "c": 0.10369,
    "h": 306.9
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#2C0944
secondary
#4C8227
accent
#F33582
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0944

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

Preview Lab → · Contrast checker → · Palette generator →

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