#2C0A3E#2C0A3E

#2C0A3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.096 H 310.9°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#2C0A3E
RGBrgb(44, 10, 62)
HSLhsl(279, 72%, 14%)
HSVhsv(279, 84%, 24%)
CMYKcmyk(29%, 83.9%, 0%, 75.7%)
CIE-LABlab(9.80, 27.21, -25.49)
CIE-LCHlch(9.80, 37.28, 316.87°)
OKLaboklab(23.46% 0.0626 -0.0722)
OKLCHoklch(23.46% 0.096 310.9)
XYZxyz(2.0166, 1.1004, 4.6627)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A3E #1C3E0A
analogous
#120A3E #2C0A3E #3E0A36
triadic
#2C0A3E #3E2C0A #0A3E2C
tetradic
#2C0A3E #3E120A #1C3E0A #0A363E
square
#2C0A3E #3E120A #1C3E0A #0A363E
split-complementary
#2C0A3E #363E0A #0A3E12
monochromatic
#13041A #13041A #2C0A3E #511373 #771BA7

Accessibility & contrast

On white

17.21
#2C0A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A3E
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A3E#FFFFFF#000000##FFFFFF
##2C0A3E1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#031C3D
Tritanopia (blue-blind)
#2A1623
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0a3e;
/* rgb */ color: rgb(44, 10, 62);
/* oklch */ color: oklch(23.5% 0.096 310.9);
Tailwind
colors: {
  custom: {
    50: '#684d74',
    500: '#2c0a3e',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a3e;
$custom-light: #684d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a3e",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 279.231,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23455,
    "c": 0.09551,
    "h": 310.9
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#2C0A3E
secondary
#457B28
accent
#EF3978
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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