#2C073D#2C073D

#2C073D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.099 H 312.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2C073D
RGBrgb(44, 7, 61)
HSLhsl(281, 79%, 13%)
HSVhsv(281, 89%, 24%)
CMYKcmyk(27.9%, 88.5%, 0%, 76.1%)
CIE-LABlab(9.19, 28.45, -25.76)
CIE-LCHlch(9.19, 38.37, 317.84°)
OKLaboklab(23% 0.0664 -0.0729)
OKLCHoklch(23% 0.099 312.3)
XYZxyz(1.9568, 1.0244, 4.5086)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C073D #183D07
analogous
#11073D #2C073D #3D0733
triadic
#2C073D #3D2C07 #073D2C
tetradic
#2C073D #3D1107 #183D07 #07333D
square
#2C073D #3D1107 #183D07 #07333D
split-complementary
#2C073D #333D07 #073D11
monochromatic
#14031B #14031B #2C073D #540D74 #7B14AB

Accessibility & contrast

On white

17.43
#2C073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C073D
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C073D#FFFFFF#000000##FFFFFF
##2C073D1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#011B3C
Tritanopia (blue-blind)
#2A1422
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c073d;
/* rgb */ color: rgb(44, 7, 61);
/* oklch */ color: oklch(23.0% 0.099 312.3);
Tailwind
colors: {
  custom: {
    50: '#684b73',
    500: '#2c073d',
    950: '#000000',
  },
}
SCSS
$custom: #2c073d;
$custom-light: #684b73;
$custom-dark: #000000;
JSON
{
  "hex": "#2c073d",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 281.111,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22999,
    "c": 0.09861,
    "h": 312.3
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#2C073D
secondary
#3F7C23
accent
#F63270
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C073D

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

Preview Lab → · Contrast checker → · Palette generator →

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