#2C063A#2C063A

#2C063A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.097 H 314.9°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#2C063A
RGBrgb(44, 6, 58)
HSLhsl(284, 81%, 13%)
HSVhsv(284, 90%, 23%)
CMYKcmyk(24.1%, 89.7%, 0%, 77.3%)
CIE-LABlab(8.75, 28.24, -24.32)
CIE-LCHlch(8.75, 37.26, 319.27°)
OKLaboklab(22.6% 0.0684 -0.0687)
OKLCHoklch(22.6% 0.097 314.9)
XYZxyz(1.8674, 0.9713, 4.0913)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C063A #143A06
analogous
#12063A #2C063A #3A062E
triadic
#2C063A #3A2C06 #063A2C
tetradic
#2C063A #3A1206 #143A06 #062E3A
square
#2C063A #3A1206 #143A06 #062E3A
split-complementary
#2C063A #2E3A06 #063A12
monochromatic
#15031C #15031C #2C063A #560C71 #8011A9

Accessibility & contrast

On white

17.58
#2C063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C063A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C063A#FFFFFF#000000##FFFFFF
##2C063A1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#2B1220
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c063a;
/* rgb */ color: rgb(44, 6, 58);
/* oklch */ color: oklch(22.6% 0.097 314.9);
Tailwind
colors: {
  custom: {
    50: '#684b70',
    500: '#2c063a',
    950: '#000000',
  },
}
SCSS
$custom: #2c063a;
$custom-light: #684b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c063a",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 283.846,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22604,
    "c": 0.0969,
    "h": 314.9
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#2C063A
secondary
#397A22
accent
#F83066
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C063A

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

Preview Lab → · Contrast checker → · Palette generator →

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