#2C0844#2C0844

#2C0844 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.105 H 307.1°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#2C0844
RGBrgb(44, 8, 68)
HSLhsl(276, 79%, 15%)
HSVhsv(276, 88%, 27%)
CMYKcmyk(35.3%, 88.2%, 0%, 73.3%)
CIE-LABlab(10.00, 29.73, -29.41)
CIE-LCHlch(10.00, 41.82, 315.31°)
OKLaboklab(23.77% 0.0634 -0.0837)
OKLCHoklch(23.77% 0.105 307.1)
XYZxyz(2.1687, 1.1265, 5.5709)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0844 #204408
analogous
#0E0844 #2C0844 #44083E
triadic
#2C0844 #442C08 #08442C
tetradic
#2C0844 #440E08 #204408 #083E44
square
#2C0844 #440E08 #204408 #083E44
split-complementary
#2C0844 #3E4408 #08440E
monochromatic
#12031B #12031B #2C0844 #4F0E7B #7315B2

Accessibility & contrast

On white

17.14
#2C0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0844
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0844#FFFFFF#000000##FFFFFF
##2C08441.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#281726
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0844;
/* rgb */ color: rgb(44, 8, 68);
/* oklch */ color: oklch(23.8% 0.105 307.1);
Tailwind
colors: {
  custom: {
    50: '#684c78',
    500: '#2c0844',
    950: '#000000',
  },
}
SCSS
$custom: #2c0844;
$custom-light: #684c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0844",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 276,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23767,
    "c": 0.10497,
    "h": 307.1
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#2C0844
secondary
#4B8226
accent
#F53280
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0844

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

Preview Lab → · Contrast checker → · Palette generator →

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