#2C063F#2C063F

#2C063F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.102 H 311.0°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2C063F
RGBrgb(44, 6, 63)
HSLhsl(280, 83%, 14%)
HSVhsv(280, 90%, 25%)
CMYKcmyk(30.2%, 90.5%, 0%, 75.3%)
CIE-LABlab(9.20, 29.46, -27.18)
CIE-LCHlch(9.20, 40.08, 317.30°)
OKLaboklab(23.06% 0.0671 -0.0771)
OKLCHoklch(23.06% 0.102 311)
XYZxyz(2.0009, 1.0247, 4.7940)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C063F #193F06
analogous
#0F063F #2C063F #3F0635
triadic
#2C063F #3F2C06 #063F2C
tetradic
#2C063F #3F0F06 #193F06 #06353F
square
#2C063F #3F0F06 #193F06 #06353F
split-complementary
#2C063F #353F06 #063F0F
monochromatic
#14031C #14031C #2C063F #530B77 #7A11AF

Accessibility & contrast

On white

17.43
#2C063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C063F
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C063F#FFFFFF#000000##FFFFFF
##2C063F1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#291423
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c063f;
/* rgb */ color: rgb(44, 6, 63);
/* oklch */ color: oklch(23.1% 0.102 311.0);
Tailwind
colors: {
  custom: {
    50: '#684b74',
    500: '#2c063f',
    950: '#000000',
  },
}
SCSS
$custom: #2c063f;
$custom-light: #684b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c063f",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 280,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23057,
    "c": 0.10222,
    "h": 311
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#2C063F
secondary
#417F22
accent
#F92F72
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C063F

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

Preview Lab → · Contrast checker → · Palette generator →

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