#2C073C#2C073C

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

Color values

HEX#2C073C
RGBrgb(44, 7, 60)
HSLhsl(282, 79%, 13%)
HSVhsv(282, 88%, 24%)
CMYKcmyk(26.7%, 88.3%, 0%, 76.5%)
CIE-LABlab(9.11, 28.20, -25.18)
CIE-LCHlch(9.11, 37.81, 318.24°)
OKLaboklab(22.91% 0.0666 -0.0712)
OKLCHoklch(22.91% 0.098 313.1)
XYZxyz(1.9302, 1.0137, 4.3681)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C073C #173C07
analogous
#11073C #2C073C #3C0731
triadic
#2C073C #3C2C07 #073C2C
tetradic
#2C073C #3C1107 #173C07 #07313C
square
#2C073C #3C1107 #173C07 #07313C
split-complementary
#2C073C #313C07 #073C11
monochromatic
#14031B #14031B #2C073C #540D73 #7C14AA

Accessibility & contrast

On white

17.46
#2C073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C073C
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C073C#FFFFFF#000000##FFFFFF
##2C073C1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#031A3B
Tritanopia (blue-blind)
#2A1321
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c073c;
/* rgb */ color: rgb(44, 7, 60);
/* oklch */ color: oklch(22.9% 0.098 313.1);
Tailwind
colors: {
  custom: {
    50: '#684b72',
    500: '#2c073c',
    950: '#000000',
  },
}
SCSS
$custom: #2c073c;
$custom-light: #684b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2c073c",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 281.887,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22909,
    "c": 0.09753,
    "h": 313.1
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#2C073C
secondary
#3E7B23
accent
#F6326D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C073C

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

Preview Lab → · Contrast checker → · Palette generator →

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