#2C073F#2C073F

#2C073F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.2% C 0.101 H 310.8°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#2C073F
RGBrgb(44, 7, 63)
HSLhsl(280, 80%, 14%)
HSVhsv(280, 89%, 25%)
CMYKcmyk(30.2%, 88.9%, 0%, 75.3%)
CIE-LABlab(9.37, 28.94, -26.90)
CIE-LCHlch(9.37, 39.51, 317.10°)
OKLaboklab(23.18% 0.0659 -0.0763)
OKLCHoklch(23.18% 0.101 310.8)
XYZxyz(2.0117, 1.0464, 4.7977)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C073F #1A3F07
analogous
#10073F #2C073F #3F0736
triadic
#2C073F #3F2C07 #073F2C
tetradic
#2C073F #3F1007 #1A3F07 #07363F
square
#2C073F #3F1007 #1A3F07 #07363F
split-complementary
#2C073F #363F07 #073F10
monochromatic
#13031C #13031C #2C073F #520D76 #7913AD

Accessibility & contrast

On white

17.37
#2C073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C073F
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C073F#FFFFFF#000000##FFFFFF
##2C073F1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#291523
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c073f;
/* rgb */ color: rgb(44, 7, 63);
/* oklch */ color: oklch(23.2% 0.101 310.8);
Tailwind
colors: {
  custom: {
    50: '#684b74',
    500: '#2c073f',
    950: '#000000',
  },
}
SCSS
$custom: #2c073f;
$custom-light: #684b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c073f",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 279.643,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2318,
    "c": 0.1008,
    "h": 310.8
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#2C073F
secondary
#427E24
accent
#F63174
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C073F

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

Preview Lab → · Contrast checker → · Palette generator →

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