#2C0C44#2C0C44

#2C0C44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.100 H 306.3°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#2C0C44
RGBrgb(44, 12, 68)
HSLhsl(274, 70%, 16%)
HSVhsv(274, 82%, 27%)
CMYKcmyk(35.3%, 82.4%, 0%, 73.3%)
CIE-LABlab(10.67, 27.81, -28.33)
CIE-LCHlch(10.67, 39.70, 314.47°)
OKLaboklab(24.24% 0.059 -0.0805)
OKLCHoklch(24.24% 0.1 306.3)
XYZxyz(2.2133, 1.2158, 5.5858)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C44 #24440C
analogous
#100C44 #2C0C44 #440C40
triadic
#2C0C44 #442C0C #0C442C
tetradic
#2C0C44 #44100C #24440C #0C4044
square
#2C0C44 #44100C #24440C #0C4044
split-complementary
#2C0C44 #40440C #0C4410
monochromatic
#11051A #11051A #2C0C44 #4E1578 #6F1EAC

Accessibility & contrast

On white

16.89
#2C0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0C44
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C44#FFFFFF#000000##FFFFFF
##2C0C441.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#281927
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0c44;
/* rgb */ color: rgb(44, 12, 68);
/* oklch */ color: oklch(24.2% 0.100 306.3);
Tailwind
colors: {
  custom: {
    50: '#684e78',
    500: '#2c0c44',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c44;
$custom-light: #684e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c44",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 274.286,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24238,
    "c": 0.09984,
    "h": 306.3
  },
  "luminance": 0.01216
}

Semantic roles & 50–950 ramp

primary
#2C0C44
secondary
#50802C
accent
#ED3B87
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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