#2C0737#2C0737

#2C0737 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.092 H 317.2°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2C0737
RGBrgb(44, 7, 55)
HSLhsl(286, 77%, 12%)
HSVhsv(286, 87%, 22%)
CMYKcmyk(20%, 87.3%, 0%, 78.4%)
CIE-LABlab(8.68, 26.99, -22.25)
CIE-LCHlch(8.68, 34.98, 320.50°)
OKLaboklab(22.48% 0.0676 -0.0626)
OKLCHoklch(22.48% 0.092 317.2)
XYZxyz(1.8042, 0.9633, 3.7046)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0737 #123707
analogous
#140737 #2C0737 #37072A
triadic
#2C0737 #372C07 #07372C
tetradic
#2C0737 #371407 #123707 #072A37
square
#2C0737 #371407 #123707 #072A37
split-complementary
#2C0737 #2A3707 #073714
monochromatic
#16031B #16031B #2C0737 #570E6D #8315A4

Accessibility & contrast

On white

17.61
#2C0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C0737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0737
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0737#FFFFFF#000000##FFFFFF
##2C07371.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#081A36
Tritanopia (blue-blind)
#2B111E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0737;
/* rgb */ color: rgb(44, 7, 55);
/* oklch */ color: oklch(22.5% 0.092 317.2);
Tailwind
colors: {
  custom: {
    50: '#674b6e',
    500: '#2c0737',
    950: '#000000',
  },
}
SCSS
$custom: #2c0737;
$custom-light: #674b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0737",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 286.25,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22477,
    "c": 0.09213,
    "h": 317.2
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#2C0737
secondary
#367723
accent
#F43460
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0737

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

Preview Lab → · Contrast checker → · Palette generator →

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