#2C073B#2C073B

#2C073B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.096 H 313.9°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2C073B
RGBrgb(44, 7, 59)
HSLhsl(283, 79%, 13%)
HSVhsv(283, 88%, 23%)
CMYKcmyk(25.4%, 88.1%, 0%, 76.9%)
CIE-LABlab(9.02, 27.95, -24.60)
CIE-LCHlch(9.02, 37.24, 318.65°)
OKLaboklab(22.82% 0.0669 -0.0695)
OKLCHoklch(22.82% 0.096 313.9)
XYZxyz(1.9040, 1.0033, 4.2302)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C073B #163B07
analogous
#12073B #2C073B #3B0730
triadic
#2C073B #3B2C07 #073B2C
tetradic
#2C073B #3B1207 #163B07 #07303B
square
#2C073B #3B1207 #163B07 #07303B
split-complementary
#2C073B #303B07 #073B12
monochromatic
#14031B #14031B #2C073B #550D72 #7E14A8

Accessibility & contrast

On white

17.49
#2C073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C073B
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C073B#FFFFFF#000000##FFFFFF
##2C073B1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#041A3A
Tritanopia (blue-blind)
#2A1321
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c073b;
/* rgb */ color: rgb(44, 7, 59);
/* oklch */ color: oklch(22.8% 0.096 313.9);
Tailwind
colors: {
  custom: {
    50: '#684b71',
    500: '#2c073b',
    950: '#000000',
  },
}
SCSS
$custom: #2c073b;
$custom-light: #684b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2c073b",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 282.692,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22821,
    "c": 0.09645,
    "h": 313.9
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#2C073B
secondary
#3C7A23
accent
#F5336B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C073B

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

Preview Lab → · Contrast checker → · Palette generator →

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