#2C0A3A#2C0A3A

#2C0A3A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.091 H 314.1°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2C0A3A
RGBrgb(44, 10, 58)
HSLhsl(283, 71%, 13%)
HSVhsv(283, 83%, 23%)
CMYKcmyk(24.1%, 82.8%, 0%, 77.3%)
CIE-LABlab(9.47, 26.19, -23.16)
CIE-LCHlch(9.47, 34.96, 318.51°)
OKLaboklab(23.11% 0.0632 -0.0653)
OKLCHoklch(23.11% 0.091 314.1)
XYZxyz(1.9108, 1.0581, 4.1057)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A3A #183A0A
analogous
#140A3A #2C0A3A #3A0A30
triadic
#2C0A3A #3A2C0A #0A3A2C
tetradic
#2C0A3A #3A140A #183A0A #0A303A
square
#2C0A3A #3A140A #183A0A #0A303A
split-complementary
#2C0A3A #303A0A #0A3A14
monochromatic
#14051A #14051A #2C0A3A #54136E #7B1CA2

Accessibility & contrast

On white

17.33
#2C0A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A3A
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A3A#FFFFFF#000000##FFFFFF
##2C0A3A1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#071B39
Tritanopia (blue-blind)
#2B1421
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0a3a;
/* rgb */ color: rgb(44, 10, 58);
/* oklch */ color: oklch(23.1% 0.091 314.1);
Tailwind
colors: {
  custom: {
    50: '#674d70',
    500: '#2c0a3a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a3a;
$custom-light: #674d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a3a",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 282.5,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23111,
    "c": 0.09091,
    "h": 314.1
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#2C0A3A
secondary
#3F7728
accent
#ED3A6F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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