#2C063B#2C063B

#2C063B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.098 H 314.1°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2C063B
RGBrgb(44, 6, 59)
HSLhsl(283, 82%, 13%)
HSVhsv(283, 90%, 23%)
CMYKcmyk(25.4%, 89.8%, 0%, 76.9%)
CIE-LABlab(8.84, 28.48, -24.90)
CIE-LCHlch(8.84, 37.83, 318.84°)
OKLaboklab(22.69% 0.0682 -0.0704)
OKLCHoklch(22.69% 0.098 314.1)
XYZxyz(1.8931, 0.9816, 4.2266)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C063B #153B06
analogous
#12063B #2C063B #3B062F
triadic
#2C063B #3B2C06 #063B2C
tetradic
#2C063B #3B1206 #153B06 #062F3B
square
#2C063B #3B1206 #153B06 #062F3B
split-complementary
#2C063B #2F3B06 #063B12
monochromatic
#15031C #15031C #2C063B #550C73 #7F11AA

Accessibility & contrast

On white

17.56
#2C063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C063B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C063B#FFFFFF#000000##FFFFFF
##2C063B1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#031A3A
Tritanopia (blue-blind)
#2B1220
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c063b;
/* rgb */ color: rgb(44, 6, 59);
/* oklch */ color: oklch(22.7% 0.098 314.1);
Tailwind
colors: {
  custom: {
    50: '#684b71',
    500: '#2c063b',
    950: '#000000',
  },
}
SCSS
$custom: #2c063b;
$custom-light: #684b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2c063b",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 283.019,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22693,
    "c": 0.09796,
    "h": 314.1
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#2C063B
secondary
#3B7B22
accent
#F83068
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C063B

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

Preview Lab → · Contrast checker → · Palette generator →

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