#2C073E#2C073E

#2C073E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.100 H 311.6°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2C073E
RGBrgb(44, 7, 62)
HSLhsl(280, 80%, 14%)
HSVhsv(280, 89%, 24%)
CMYKcmyk(29%, 88.7%, 0%, 75.7%)
CIE-LABlab(9.28, 28.69, -26.33)
CIE-LCHlch(9.28, 38.94, 317.46°)
OKLaboklab(23.09% 0.0662 -0.0746)
OKLCHoklch(23.09% 0.1 311.6)
XYZxyz(1.9840, 1.0353, 4.6518)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C073E #193E07
analogous
#10073E #2C073E #3E0734
triadic
#2C073E #3E2C07 #073E2C
tetradic
#2C073E #3E1007 #193E07 #07343E
square
#2C073E #3E1007 #193E07 #07343E
split-complementary
#2C073E #343E07 #073E10
monochromatic
#14031B #14031B #2C073E #530D75 #7A13AC

Accessibility & contrast

On white

17.40
#2C073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C073E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C073E
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C073E#FFFFFF#000000##FFFFFF
##2C073E1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#001B3D
Tritanopia (blue-blind)
#2A1422
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c073e;
/* rgb */ color: rgb(44, 7, 62);
/* oklch */ color: oklch(23.1% 0.100 311.6);
Tailwind
colors: {
  custom: {
    50: '#684b74',
    500: '#2c073e',
    950: '#000000',
  },
}
SCSS
$custom: #2c073e;
$custom-light: #684b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c073e",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 280.364,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23089,
    "c": 0.0997,
    "h": 311.6
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#2C073E
secondary
#417D24
accent
#F63272
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C073E

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

Preview Lab → · Contrast checker → · Palette generator →

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