#2C0C3D#2C0C3D

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

Color values

HEX#2C0C3D
RGBrgb(44, 12, 61)
HSLhsl(279, 67%, 14%)
HSVhsv(279, 80%, 24%)
CMYKcmyk(27.9%, 80.3%, 0%, 76.1%)
CIE-LABlab(10.07, 25.94, -24.34)
CIE-LCHlch(10.07, 35.57, 316.83°)
OKLaboklab(23.62% 0.0603 -0.0688)
OKLCHoklch(23.62% 0.091 311.3)
XYZxyz(2.0123, 1.1354, 4.5271)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C3D #1D3D0C
analogous
#140C3D #2C0C3D #3D0C36
triadic
#2C0C3D #3D2C0C #0C3D2C
tetradic
#2C0C3D #3D140C #1D3D0C #0C363D
square
#2C0C3D #3D140C #1D3D0C #0C363D
split-complementary
#2C0C3D #363D0C #0C3D14
monochromatic
#12051A #12051A #2C0C3D #511670 #7620A3

Accessibility & contrast

On white

17.11
#2C0C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0C3D
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C3D#FFFFFF#000000##FFFFFF
##2C0C3D1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#061C3C
Tritanopia (blue-blind)
#2A1723
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0c3d;
/* rgb */ color: rgb(44, 12, 61);
/* oklch */ color: oklch(23.6% 0.091 311.3);
Tailwind
colors: {
  custom: {
    50: '#674e73',
    500: '#2c0c3d',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c3d;
$custom-light: #674e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c3d",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 279.184,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23621,
    "c": 0.09148,
    "h": 311.3
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#2C0C3D
secondary
#47792C
accent
#EA3E7A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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