#2C063E#2C063E

#2C063E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.101 H 311.8°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#2C063E
RGBrgb(44, 6, 62)
HSLhsl(281, 82%, 13%)
HSVhsv(281, 90%, 24%)
CMYKcmyk(29%, 90.3%, 0%, 75.7%)
CIE-LABlab(9.10, 29.21, -26.62)
CIE-LCHlch(9.10, 39.52, 317.66°)
OKLaboklab(22.96% 0.0674 -0.0754)
OKLCHoklch(22.96% 0.101 311.8)
XYZxyz(1.9732, 1.0136, 4.6482)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C063E #183E06
analogous
#10063E #2C063E #3E0634
triadic
#2C063E #3E2C06 #063E2C
tetradic
#2C063E #3E1006 #183E06 #06343E
square
#2C063E #3E1006 #183E06 #06343E
split-complementary
#2C063E #343E06 #063E10
monochromatic
#14031C #14031C #2C063E #540B76 #7B11AE

Accessibility & contrast

On white

17.46
#2C063E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C063E
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C063E#FFFFFF#000000##FFFFFF
##2C063E1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001840
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#2A1422
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c063e;
/* rgb */ color: rgb(44, 6, 62);
/* oklch */ color: oklch(23.0% 0.101 311.8);
Tailwind
colors: {
  custom: {
    50: '#684b74',
    500: '#2c063e',
    950: '#000000',
  },
}
SCSS
$custom: #2c063e;
$custom-light: #684b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c063e",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 62
  },
  "hsl": {
    "h": 280.714,
    "s": 82.353,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22964,
    "c": 0.10116,
    "h": 311.8
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#2C063E
secondary
#3F7E22
accent
#F92F70
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C063E

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

Preview Lab → · Contrast checker → · Palette generator →

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