#2C0D3D#2C0D3D

#2C0D3D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.090 H 311.0°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2C0D3D
RGBrgb(44, 13, 61)
HSLhsl(279, 65%, 15%)
HSVhsv(279, 79%, 24%)
CMYKcmyk(27.9%, 78.7%, 0%, 76.1%)
CIE-LABlab(10.26, 25.41, -24.03)
CIE-LCHlch(10.26, 34.97, 316.60°)
OKLaboklab(23.76% 0.059 -0.0679)
OKLCHoklch(23.76% 0.09 311)
XYZxyz(2.0248, 1.1603, 4.5313)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D3D #1E3D0D
analogous
#140D3D #2C0D3D #3D0D36
triadic
#2C0D3D #3D2C0D #0D3D2C
tetradic
#2C0D3D #3D140D #1E3D0D #0D363D
square
#2C0D3D #3D140D #1E3D0D #0D363D
split-complementary
#2C0D3D #363D0D #0D3D14
monochromatic
#120519 #120519 #2C0D3D #50186F #7523A2

Accessibility & contrast

On white

17.05
#2C0D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D3D
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D3D#FFFFFF#000000##FFFFFF
##2C0D3D1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#071D3C
Tritanopia (blue-blind)
#2A1723
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0d3d;
/* rgb */ color: rgb(44, 13, 61);
/* oklch */ color: oklch(23.8% 0.090 311.0);
Tailwind
colors: {
  custom: {
    50: '#674e73',
    500: '#2c0d3d',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d3d;
$custom-light: #674e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d3d",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 278.75,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23756,
    "c": 0.08996,
    "h": 311
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#2C0D3D
secondary
#48792D
accent
#E8407B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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