#2C0D3C#2C0D3C

#2C0D3C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.089 H 311.8°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#2C0D3C
RGBrgb(44, 13, 60)
HSLhsl(280, 64%, 14%)
HSVhsv(280, 78%, 24%)
CMYKcmyk(26.7%, 78.3%, 0%, 76.5%)
CIE-LABlab(10.18, 25.15, -23.45)
CIE-LCHlch(10.18, 34.38, 317.01°)
OKLaboklab(23.67% 0.0591 -0.0662)
OKLCHoklch(23.67% 0.089 311.8)
XYZxyz(1.9981, 1.1496, 4.3907)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D3C #1D3C0D
analogous
#140D3C #2C0D3C #3C0D35
triadic
#2C0D3C #3C2C0D #0D3C2C
tetradic
#2C0D3C #3C140D #1D3C0D #0D353C
square
#2C0D3C #3C140D #1D3C0D #0D353C
split-complementary
#2C0D3C #353C0D #0D3C14
monochromatic
#120519 #120519 #2C0D3C #51186E #7623A1

Accessibility & contrast

On white

17.07
#2C0D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D3C
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D3C#FFFFFF#000000##FFFFFF
##2C0D3C1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#081C3B
Tritanopia (blue-blind)
#2A1723
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0d3c;
/* rgb */ color: rgb(44, 13, 60);
/* oklch */ color: oklch(23.7% 0.089 311.8);
Tailwind
colors: {
  custom: {
    50: '#674e72',
    500: '#2c0d3c',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d3c;
$custom-light: #674e72;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d3c",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 279.574,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23673,
    "c": 0.08875,
    "h": 311.8
  },
  "luminance": 0.0115
}

Semantic roles & 50–950 ramp

primary
#2C0D3C
secondary
#47782D
accent
#E74079
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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