#2C0738#2C0738

#2C0738 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.093 H 316.3°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#2C0738
RGBrgb(44, 7, 56)
HSLhsl(285, 78%, 12%)
HSVhsv(285, 88%, 22%)
CMYKcmyk(21.4%, 87.5%, 0%, 78%)
CIE-LABlab(8.76, 27.23, -22.84)
CIE-LCHlch(8.76, 35.54, 320.00°)
OKLaboklab(22.56% 0.0674 -0.0644)
OKLCHoklch(22.56% 0.093 316.3)
XYZxyz(1.8284, 0.9730, 3.8321)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0738 #133807
analogous
#130738 #2C0738 #38072C
triadic
#2C0738 #382C07 #07382C
tetradic
#2C0738 #381307 #133807 #072C38
square
#2C0738 #381307 #133807 #072C38
split-complementary
#2C0738 #2C3807 #073813
monochromatic
#15031B #15031B #2C0738 #570E6E #8115A5

Accessibility & contrast

On white

17.58
#2C0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0738
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0738#FFFFFF#000000##FFFFFF
##2C07381.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#071A37
Tritanopia (blue-blind)
#2B121F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0738;
/* rgb */ color: rgb(44, 7, 56);
/* oklch */ color: oklch(22.6% 0.093 316.3);
Tailwind
colors: {
  custom: {
    50: '#674b6f',
    500: '#2c0738',
    950: '#000000',
  },
}
SCSS
$custom: #2c0738;
$custom-light: #674b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0738",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 285.306,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22561,
    "c": 0.09321,
    "h": 316.3
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#2C0738
secondary
#387823
accent
#F43463
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0738

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

Preview Lab → · Contrast checker → · Palette generator →

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