#2C043F#2C043F

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

Color values

HEX#2C043F
RGBrgb(44, 4, 63)
HSLhsl(281, 88%, 13%)
HSVhsv(281, 94%, 25%)
CMYKcmyk(30.2%, 93.7%, 0%, 75.3%)
CIE-LABlab(8.83, 30.52, -27.77)
CIE-LCHlch(8.83, 41.26, 317.70°)
OKLaboklab(22.81% 0.0696 -0.0788)
OKLCHoklch(22.81% 0.105 311.5)
XYZxyz(1.9792, 0.9812, 4.7868)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C043F #173F04
analogous
#0E043F #2C043F #3F0434
triadic
#2C043F #3F2C04 #043F2C
tetradic
#2C043F #3F0E04 #173F04 #04343F
square
#2C043F #3F0E04 #173F04 #04343F
split-complementary
#2C043F #343F04 #043F0E
monochromatic
#14021D #14021D #2C043F #540879 #7C0BB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C043F#FFFFFF#000000##FFFFFF
##2C043F1.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)
#001741
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#291322
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c043f;
/* rgb */ color: rgb(44, 4, 63);
/* oklch */ color: oklch(22.8% 0.105 311.5);
Tailwind
colors: {
  custom: {
    50: '#684a74',
    500: '#2c043f',
    950: '#000000',
  },
}
SCSS
$custom: #2c043f;
$custom-light: #684a74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c043f",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 280.678,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22805,
    "c": 0.10515,
    "h": 311.5
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#2C043F
secondary
#3E801E
accent
#FE2A6E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C043F

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

Preview Lab → · Contrast checker → · Palette generator →

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