#2C0D3E#2C0D3E

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

Color values

HEX#2C0D3E
RGBrgb(44, 13, 62)
HSLhsl(278, 65%, 15%)
HSVhsv(278, 79%, 24%)
CMYKcmyk(29%, 79%, 0%, 75.7%)
CIE-LABlab(10.34, 25.68, -24.61)
CIE-LCHlch(10.34, 35.57, 316.21°)
OKLaboklab(23.84% 0.0589 -0.0696)
OKLCHoklch(23.84% 0.091 310.2)
XYZxyz(2.0520, 1.1712, 4.6745)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D3E #1F3E0D
analogous
#140D3E #2C0D3E #3E0D38
triadic
#2C0D3E #3E2C0D #0D3E2C
tetradic
#2C0D3E #3E140D #1F3E0D #0D383E
square
#2C0D3E #3E140D #1F3E0D #0D383E
split-complementary
#2C0D3E #383E0D #0D3E14
monochromatic
#120519 #120519 #2C0D3E #501871 #7422A3

Accessibility & contrast

On white

17.02
#2C0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D3E
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D3E#FFFFFF#000000##FFFFFF
##2C0D3E1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#061D3D
Tritanopia (blue-blind)
#2A1824
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0d3e;
/* rgb */ color: rgb(44, 13, 62);
/* oklch */ color: oklch(23.8% 0.091 310.2);
Tailwind
colors: {
  custom: {
    50: '#674e74',
    500: '#2c0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d3e;
$custom-light: #674e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d3e",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 277.959,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23841,
    "c": 0.09117,
    "h": 310.2
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#2C0D3E
secondary
#497A2D
accent
#E8407E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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