#2C0440#2C0440

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

Color values

HEX#2C0440
RGBrgb(44, 4, 64)
HSLhsl(280, 88%, 13%)
HSVhsv(280, 94%, 25%)
CMYKcmyk(31.2%, 93.8%, 0%, 74.9%)
CIE-LABlab(8.93, 30.76, -28.33)
CIE-LCHlch(8.93, 41.82, 317.35°)
OKLaboklab(22.9% 0.0693 -0.0804)
OKLCHoklch(22.9% 0.106 310.7)
XYZxyz(2.0074, 0.9925, 4.9353)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0440 #184004
analogous
#0E0440 #2C0440 #400436
triadic
#2C0440 #402C04 #04402C
tetradic
#2C0440 #400E04 #184004 #043640
square
#2C0440 #400E04 #184004 #043640
split-complementary
#2C0440 #364004 #04400E
monochromatic
#14021D #14021D #2C0440 #54087A #7B0BB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0440#FFFFFF#000000##FFFFFF
##2C04401.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)
#001842
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#291323
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0440;
/* rgb */ color: rgb(44, 4, 64);
/* oklch */ color: oklch(22.9% 0.106 310.7);
Tailwind
colors: {
  custom: {
    50: '#684a75',
    500: '#2c0440',
    950: '#000000',
  },
}
SCSS
$custom: #2c0440;
$custom-light: #684a75;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0440",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 280,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.229,
    "c": 0.10618,
    "h": 310.7
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#2C0440
secondary
#3F811F
accent
#FE2970
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0440

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

Preview Lab → · Contrast checker → · Palette generator →

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