#2C0346#2C0346

#2C0346 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.4% C 0.114 H 306.9°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#2C0346
RGBrgb(44, 3, 70)
HSLhsl(277, 92%, 14%)
HSVhsv(277, 96%, 27%)
CMYKcmyk(37.1%, 95.7%, 0%, 72.5%)
CIE-LABlab(9.34, 32.75, -31.90)
CIE-LCHlch(9.34, 45.72, 315.75°)
OKLaboklab(23.37% 0.0683 -0.0909)
OKLCHoklch(23.37% 0.114 306.9)
XYZxyz(2.1765, 1.0428, 5.8798)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0346 #1D4603
analogous
#0A0346 #2C0346 #46033F
triadic
#2C0346 #462C03 #03462C
tetradic
#2C0346 #460A03 #1D4603 #033F46
square
#2C0346 #460A03 #1D4603 #033F46
split-complementary
#2C0346 #3F4603 #03460A
monochromatic
#12011D #12011D #2C0346 #510681 #7608BB

Accessibility & contrast

On white

17.38
#2C0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0346
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0346#FFFFFF#000000##FFFFFF
##2C03461.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#271626
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0346;
/* rgb */ color: rgb(44, 3, 70);
/* oklch */ color: oklch(23.4% 0.114 306.9);
Tailwind
colors: {
  custom: {
    50: '#694a7a',
    500: '#2c0346',
    950: '#000000',
  },
}
SCSS
$custom: #2c0346;
$custom-light: #694a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0346",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 276.716,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2337,
    "c": 0.1137,
    "h": 306.9
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#2C0346
secondary
#47871D
accent
#FF297C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0346

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

Preview Lab → · Contrast checker → · Palette generator →

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