#2C0347#2C0347

#2C0347 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.115 H 306.3°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#2C0347
RGBrgb(44, 3, 71)
HSLhsl(276, 92%, 15%)
HSVhsv(276, 96%, 28%)
CMYKcmyk(38%, 95.8%, 0%, 72.2%)
CIE-LABlab(9.45, 32.99, -32.43)
CIE-LCHlch(9.45, 46.26, 315.49°)
OKLaboklab(23.47% 0.0679 -0.0925)
OKLCHoklch(23.47% 0.115 306.3)
XYZxyz(2.2083, 1.0556, 6.0474)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0347 #1E4703
analogous
#0A0347 #2C0347 #470340
triadic
#2C0347 #472C03 #03472C
tetradic
#2C0347 #470A03 #1E4703 #034047
square
#2C0347 #470A03 #1E4703 #034047
split-complementary
#2C0347 #404703 #03470A
monochromatic
#12011D #12011D #2C0347 #500582 #7508BC

Accessibility & contrast

On white

17.34
#2C0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0347
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0347#FFFFFF#000000##FFFFFF
##2C03471.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#271627
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0347;
/* rgb */ color: rgb(44, 3, 71);
/* oklch */ color: oklch(23.5% 0.115 306.3);
Tailwind
colors: {
  custom: {
    50: '#694a7b',
    500: '#2c0347',
    950: '#000000',
  },
}
SCSS
$custom: #2c0347;
$custom-light: #694a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0347",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 276.176,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23472,
    "c": 0.11471,
    "h": 306.3
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#2C0347
secondary
#48881E
accent
#FF297E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0347

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

Preview Lab → · Contrast checker → · Palette generator →

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