#2C063C#2C063C

#2C063C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.099 H 313.3°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#2C063C
RGBrgb(44, 6, 60)
HSLhsl(282, 82%, 13%)
HSVhsv(282, 90%, 24%)
CMYKcmyk(26.7%, 90%, 0%, 76.5%)
CIE-LABlab(8.92, 28.72, -25.47)
CIE-LCHlch(8.92, 38.39, 318.43°)
OKLaboklab(22.78% 0.0679 -0.0721)
OKLCHoklch(22.78% 0.099 313.3)
XYZxyz(1.9193, 0.9920, 4.3645)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C063C #163C06
analogous
#11063C #2C063C #3C0631
triadic
#2C063C #3C2C06 #063C2C
tetradic
#2C063C #3C1106 #163C06 #06313C
square
#2C063C #3C1106 #163C06 #06313C
split-complementary
#2C063C #313C06 #063C11
monochromatic
#14031C #14031C #2C063C #550C74 #7E11AB

Accessibility & contrast

On white

17.52
#2C063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2C063C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C063C
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C063C#FFFFFF#000000##FFFFFF
##2C063C1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#2A1321
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c063c;
/* rgb */ color: rgb(44, 6, 60);
/* oklch */ color: oklch(22.8% 0.099 313.3);
Tailwind
colors: {
  custom: {
    50: '#684b72',
    500: '#2c063c',
    950: '#000000',
  },
}
SCSS
$custom: #2c063c;
$custom-light: #684b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2c063c",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 282.222,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22782,
    "c": 0.09902,
    "h": 313.3
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#2C063C
secondary
#3C7C22
accent
#F8306B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C063C

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

Preview Lab → · Contrast checker → · Palette generator →

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