#2C0437#2C0437

#2C0437 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.097 H 317.7°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#2C0437
RGBrgb(44, 4, 55)
HSLhsl(287, 86%, 12%)
HSVhsv(287, 93%, 22%)
CMYKcmyk(20%, 92.7%, 0%, 78.4%)
CIE-LABlab(8.11, 28.64, -23.17)
CIE-LCHlch(8.11, 36.84, 321.02°)
OKLaboklab(22.08% 0.0718 -0.0653)
OKLCHoklch(22.08% 0.097 317.7)
XYZxyz(1.7716, 0.8982, 3.6937)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0437 #0F3704
analogous
#130437 #2C0437 #370429
triadic
#2C0437 #372C04 #04372C
tetradic
#2C0437 #371304 #0F3704 #042937
square
#2C0437 #371304 #0F3704 #042937
split-complementary
#2C0437 #293704 #043713
monochromatic
#17021D #17021D #2C0437 #5A0870 #870CA9

Accessibility & contrast

On white

17.80
#2C0437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2C0437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0437
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0437#FFFFFF#000000##FFFFFF
##2C04371.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#051936
Tritanopia (blue-blind)
#2C0F1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0437;
/* rgb */ color: rgb(44, 4, 55);
/* oklch */ color: oklch(22.1% 0.097 317.7);
Tailwind
colors: {
  custom: {
    50: '#68496e',
    500: '#2c0437',
    950: '#000000',
  },
}
SCSS
$custom: #2c0437;
$custom-light: #68496e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0437",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 287.059,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22075,
    "c": 0.09705,
    "h": 317.7
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#2C0437
secondary
#31791E
accent
#FD2B58
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0437

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

Preview Lab → · Contrast checker → · Palette generator →

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